12 struct ParameterCInfo : GraphNodeCInfo
48 virtual void SetRandomWeights() = 0;
61 SMARTENGINE_EXPORT ObjPtr Parameter_CreateInstance(
const ParameterCInfo& cinfo);
62 SMARTENGINE_EXPORT
void Parameter_SetRandomWeights(ObjPtr
object);
A logical node in the AI graph. Some nodes, like NeuralNetwork, are composed of other nodes (neuron l...
Definition: GraphNode.h:34
Base class for objects that can be loaded from and saved to an in memory buffer.
Definition: Resource.h:54
float weightMean
Defines the mean of the weights when randomizing the values.
Definition: Parameter.h:26
float weightStandardDeviation
Defines the standard deviation of the weights when randomizing the values.
Definition: Parameter.h:32
Smart pointer to an IObject. Automatic ref counting.
Definition: ObjectPtr.h:16
Definition: A2CTrainer.h:10
Data used to construct an IParameter instance
Definition: Parameter.h:16
A parameter is similar to a NeuronLayer in that it is trainable. However, it takes no input and is si...
Definition: Parameter.h:43
int dimension
The output dimension of the layer.
Definition: Parameter.h:20
SMARTENGINE_EXPORT ObjectPtr< IParameter > CreateParameter(const ParameterCInfo &cinfo)
Creates an instance of IParameter