Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/dna > API/Plugins/RigLogicLib/dna/layers > API/Plugins/RigLogicLib/dna/layers/MachineLearnedBehaviorWriter
References
| Module | RigLogicLib |
| Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/MachineLearnedBehaviorWriter.h |
| Include | #include "dna/layers/MachineLearnedBehaviorWriter.h" |
void setNeuralNetworkLayerActivationFunction
&40;
std::uint16_t netIndex,
std::uint16_t layerIndex,
ActivationFunction function
&41;
Remarks
The neural network storage will be implicitly resized (if needed) to provide storage for the new data.
Parameters
| Name | Description |
|---|---|
| netIndex | A neural network's position in the zero-indexed array of neural networks. |
| layerIndex | A layer's position in the zero-indexed array of neural network layers. |
| function | The activation function type. |