Class DepthToSpace
Represents a DepthToSpace
layer. The layer computes the output tensor by permuting data from depth into blocks of spatial data.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class DepthToSpace : Layer
Constructors
Name | Description |
---|---|
DepthToSpace(string, string, int, DepthToSpaceMode) | Initializes and returns an instance of |
Fields
Name | Description |
---|---|
blocksize | The size of the blocks to move the depth data into. |
mode | The ordering of the data in the output tensor as a |
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 |