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