Class RandomLayer
Represents the abstract base class for layers which generate random values in the output tensor.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public abstract class RandomLayer : Layer
Constructors
| Name | Description |
|---|---|
| RandomLayer(float?) | Initializes and returns an instance of |
Fields
| Name | Description |
|---|---|
| hasSeed | Whether the layer has a provided seed value for the random number generator. |
| seed | The seed value for the random number generator. The layer does not use this value if |
Properties
| Name | Description |
|---|---|
| NextSeed | Gets the next seed value for execution. |
Methods
| Name | Description |
|---|---|
| ResetSeed() | Resets the state of the random number generator to its initial state. If |