src/perceptron/NeuralNetwork/NeuralNetwork.py
def _(self, layers_sizes: tuple):
        """Init neural network with given set of sizes."""
        for i, size in enumerate(layers_sizes):
            if i == len(layers_sizes) - 1:
                break
            self.__append_layers(Neuron(size, layers_sizes[i+1]))
Init neural network with given set of sizes.
Init neural network with given set of sizes.
Init neural network with given set of sizes .
def _(self, layers_sizes: tuple):
        for i, size in enumerate(layers_sizes):
            if i == len(layers_sizes) - 1:
                break
            self.__append_layers(Neuron(size, layers_sizes[i+1]))
def _ ( self , layers_sizes : tuple ) : for i , size in enumerate ( layers_sizes ) : if i == len ( layers_sizes ) - 1 : break self . __append_layers ( Neuron ( size , layers_sizes [ i + 1 ] ) )
Init neural network with given set of sizes.
Init neural network with given set of sizes .
"""Init neural network with given set of sizes."""
self
layers_sizes
tuple