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 setNeuralNetworkLayerWeights
&40;
std::uint16_t netIndex,
std::uint16_t layerIndex,
const float &42; weights,
std::uint32_t count
&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. |
| weights | The source address from which the weight matrix values are to be copied. |
| count | The number of weight matrix values to copy. |