Spanish
Idiomas
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



NeuralNetwork.forward

NeuralNetwork.forward(input_data, weights)[fuente]

Forward pass of the network.

Parámetros
  • input_data (Union[List[float], ndarray, float, None]) – input data of the shape (num_inputs). In case of a single scalar input it is directly cast to and interpreted like a one-element array.

  • weights (Union[List[float], ndarray, float, None]) – trainable weights of the shape (num_weights). In case of a single scalar weight it is directly cast to and interpreted like a one-element array.

Tipo del valor devuelto

Union[ndarray, SparseArray]

Devuelve

The result of the neural network of the shape (output_shape).