Class Where
Represents an element-wise Where logical operation layer: f(condition, a, b) = a if condition, otherwise f(condition, a, b) = b.
This supports numpy-style broadcasting of input tensors.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Where : BroadcastConstructors
| Name | Description | 
|---|---|
| Where(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. |