fynance.models.recurrent_neural_network.RecurrentNeuralNetwork.predict

RecurrentNeuralNetwork.predict(X, H)

Predicts outputs of neural network model.

Parameters:
X : torch.Tensor

Inputs to compute prediction.

H : torch.Tensor

States of the model.

Returns:
torch.Tensor

Outputs prediction.

torch.Tensor

Updated states of the model.