Class Relu6
Represents an element-wise Relu6
activation layer: f(x) = clamp(x, 0, 6).
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Relu6 : Activation
Constructors
Name | Description |
---|---|
Relu6(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. |