Class RandomUniform
Represents a RandomUniform
random layer. This generates an output tensor of a given shape with random values in a uniform distribution between a given low
and high
, from an optional seed
value.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class RandomUniform : RandomLayer
Constructors
Name | Description |
---|---|
RandomUniform(string, int[], float, float, float?) | Initializes and returns an instance of |
Fields
Name | Description |
---|---|
high | The upper end of the interval of the uniform distribution used to generate the output. |
low | The lower end of the interval of the uniform distribution used to generate the output. |
shape | The shape for the output tensor as a |
Methods
Name | Description |
---|---|
Execute(Tensor[], ExecutionContext) | Executes the layer using the operations and variables from the If the layer has more than one output, output tensors are saved to variables. |
ToString() | Returns a string that represents the |