NeuralNet.add_root

Name and add a root to the net.

  1. NeuralNet add_root(string name_, InputLayer layer)
    class NeuralNet
  2. NeuralNet add_root(InputLayer root_)

Parameters

name_ string

name to give to the layer.

layer InputLayer

input layer to add as root to the net.

Return Value

Type: NeuralNet

current neural network with the newly added layer.

Meta