Class Resize
Represents a Resize
layer. The layer calculates the output tensor by resampling the input tensor along the spatial dimensions to a given shape.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Resize : Layer
Constructors
Name | Description |
---|---|
Resize(string, string, string, ScaleMode, InterpolationMode, CoordTransformMode, NearestMode) | Initializes and returns an instance of |
Fields
Name | Description |
---|---|
coordTransformMode | The |
mode | The |
nearestMode | The |
scaleMode | The |
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 |