fynance.models.recurrent_neural_network.LongShortTermMemory.predict

LongShortTermMemory.predict(X, H, C)

Predicts outputs of neural network model.

Parameters:
X : torch.Tensor

Inputs to compute prediction.

H : torch.Tensor

States of the model.

C : torch.Tensor

Cell memory of the model.

Returns:
torch.Tensor

Outputs prediction.

torch.Tensor

Updated states of the model.

torch.Tensor

Cell memory of the model.