Class Transpose
Represents a Transpose
layer. The layer computes the output tensor by permuting the axes and data of the input tensor according to the given permutations.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Transpose : Layer
Constructors
Name | Description |
---|---|
Transpose(string, string, int[]) | Initializes and returns an instance of |
Fields
Name | Description |
---|---|
permutations | The axes to sample the output tensor from in the input tensor. If this is |
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. |
ToString() | Returns a string that represents the |