Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/MachineLearnedBehaviorWriter
Description
The neural network storage will be implicitly resized (if needed) to provide storage for the new data.
| Name | setNeuralNetworkLayerActivationFunction |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/MachineLearnedBehaviorWriter.h |
| Include Path | #include "dna/layers/MachineLearnedBehaviorWriter.h" |
void setNeuralNetworkLayerActivationFunction
(
std::uint16_t netIndex,
std::uint16_t layerIndex,
ActivationFunction function
)
Parameters
| Name | Remarks |
|---|---|
| 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. |