predict the output of a gru model
predict_gru(model, X, hidden = FALSE, real_output = T, ...)
array or matrix of predicted values
output of the trainr function
array of input values, dim 1: samples, dim 2: time, dim 3: variables (could be 1 or more, if a matrix, will be coerce to array)
should the function output the hidden units states
option used when the function in called inside trainr, do not drop factor for 2 dimension array output
arguments to pass on to sigmoid function