Crate caffe2op_resize
source ·Structs
- | Resizes the spatial dimensions of the | input tensor using nearest neighbor | interpolation. The
width_scale
| andheight_scale
arguments control | the size of the output, which is given | by: output_width = floor(input_width | * width_scale) output_height = floor(output_height | * height_scale) | | Assumptions: | | - Only resize height and width | | - Both width_scale and height_scale | scale are 2 | - | Resizes the spatial dimensions of the | input using nearest neighbor interpolation. | The
width_scale
andheight_scale
| arguments control the size of the output, | which is given by: | | -output_width = floor(input_width | * width_scale) | | -output_height = floor(output_height | * height_scale) |