Class Squeeze
Represents a Squeeze
layer. The layer computes the output tensor by reshaping the input tensor by removing dimensions of size 1.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Squeeze : Layer
Constructors
Name | Description |
---|---|
Squeeze(string, string) | Initializes and returns an instance of |
Squeeze(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. |