Skip to content

Commit

Permalink
close apache#4838
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdwing committed May 25, 2017
1 parent 4506323 commit 952a81c
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 952a81c

Please sign in to comment.