Class RandomUniformLike
Represents a RandomUniformLike
random layer. This generates an output tensor with the same shape as the input tensor 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 RandomUniformLike : RandomLayer
Constructors
Name | Description |
---|---|
RandomUniformLike(string, string, 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. |
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 |