97 for (int32_t i=0; i<len; i++)
106 for (int32_t i=0; i<len; i++)
111 void CNeuralLayer::init()
SGVector< int32_t > m_input_sizes
SGMatrix< float64_t > m_activations
virtual void initialize_neural_layer(CDynamicObjectArray *layers, SGVector< int32_t > input_indices)
virtual int32_t get_num_neurons()
SGVector< int32_t > m_input_indices
Base class for neural network layers.
SGMatrix< float64_t > m_activation_gradients
SGMatrix< float64_t > m_local_gradients
Class SGObject is the base class of all shogun objects.
CSGObject * element(int32_t idx1, int32_t idx2=0, int32_t idx3=0)
ENLAutoencoderPosition autoencoder_position
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
virtual void dropout_activations()
all of classes and functions are contained in the shogun namespace
virtual void set_batch_size(int32_t batch_size)
SGMatrix< bool > m_dropout_mask
float64_t contraction_coefficient