Constructor Resize
Resize(string, string, string, ScaleMode, InterpolationMode, CoordTransformMode, NearestMode)
Initializes and returns an instance of Resize
layer.
Declaration
public Resize(string name, string input, string scalesOrSizes, ScaleMode scaleMode, InterpolationMode mode, CoordTransformMode coordTransformMode, NearestMode nearestMode)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to use for the output tensor of the layer. |
string | input | The name to use for the input tensor of the layer. |
string | scalesOrSizes | The name to use for the 1D scales or sizes tensor of the layer depending on the |
ScaleMode | scaleMode | The |
InterpolationMode | mode | The |
CoordTransformMode | coordTransformMode | The |
NearestMode | nearestMode | The |