Class Sign
Represents an element-wise Sign math layer: f(x) = 1 if x > 0. f(x) = -1 if x < 0. Otherwise f(x) = 0.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Sign : LayerConstructors
| Name | Description | 
|---|---|
| Sign(string, string) | Initializes and returns an instance of  | 
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. |