pyml.neural_network.layer.transformation.input.Input#

class Input[source]#

Bases: _Transformation

Input layer used for the neural network

Methods

__init__

backward

Abstract backward step

forward

Forward pass

set_adjacent_layers

Set adjacent layers which are needed for the model to iterate through the layers.

backward()[source]#

Abstract backward step

Return type:

None

forward(inputs)[source]#

Forward pass

Return type:

None

Parameters:

inputs (np.ndarray) – Handles the input of the user

set_adjacent_layers(previous_layer, next_layer)#

Set adjacent layers which are needed for the model to iterate through the layers.

Parameters:
  • previous_layer (_Layer) – Layer that is previous to this layer.

  • next_layer (_Layer) – Layer that is subsequent to this layer.