fynance.models.recurrent_neural_network.GatedRecurrentUnit.set_data

GatedRecurrentUnit.set_data(X, y, x_type=None, y_type=None)

Set data inputs and outputs.

Parameters:
X, y : array-like

Respectively input and output data.

x_type, y_type : torch.dtype

Respectively input and ouput data types. Default is None.