(self, layers, nonlinearities, output_scale=1., use_bias=True,
                 name='neural_network')
Initialization, see `NeuralNetwork`.
Initialization, see `NeuralNetwork`.
Initialization see NeuralNetwork .
def __init__(self, layers, nonlinearities, output_scale=1., use_bias=True,
                 name='neural_network'):
        """Initialization, see `NeuralNetwork`."""
        super(NeuralNetwork, self).__init__(name=name)

        self.layers = layers
        self.nonlinearities = nonlinearities
        self.output_scale = output_scale
        self.use_bias = use_bias

        self.input_dim = layers[0]
        self.output_dim = layers[-1]
def __init__ ( self , layers , nonlinearities , output_scale = 1. , use_bias = True , name = 'neural_network' ) : super ( NeuralNetwork , self ) . __init__ ( name = name ) self . layers = layers self . nonlinearities = nonlinearities self . output_scale = output_scale self . use_bias = use_bias self . input_dim = layers [ 0 ] self . output_dim = layers [ - 1 ]