Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdwing authored and piiswrong committed May 26, 2017
1 parent 2c8120d commit 8f04054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/R/rnn_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mx.model.init.params.rnn <- function(symbol, input.shape, initializer, ctx) {
# Initialize the data iter
mx.model.init.iter.rnn <- function(X, y, batch.size, is.train) {
if (is.MXDataIter(X)) return(X)
shape <- dim(data)
shape <- dim(X)
if (is.null(shape)) {
num.data <- length(X)
} else {
Expand Down

0 comments on commit 8f04054

Please sign in to comment.