Class Clip
Represents an element-wise Clip
math layer: f(x, xmin, xmax) = min(max(x, xmin), xmax)
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Clip : Layer
Constructors
Name | Description |
---|---|
Clip(string, string) | Initializes and returns an instance of |
Clip(string, string, string) | Initializes and returns an instance of |
Clip(string, string, 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. |