plugin/resizeNearestPlugin/README.md
This plugin is deprecated since TensorRT 10.12 and will be removed in a future release. IResizeLayer can be used as an alternative as appropriate to replace its functionality.
Table Of Contents
The ResizeNearest plugin performs nearest neighbor interpolation among feature map. It is used in sample MaskRCNN.
This plugin supports the NCHW format. It takes one input tensor feature_map
feature_map can be arbitrary feature map from convolution layer of shape [N, C, H, W]
Resizenearest generates the resized feature map according to scale factor. For example, if input feature is of [N, C, H, W]andscale=2.0, then the output feature will be of [N, C, 2.0 * H, 2.0 * W]
This plugin has the plugin creator class ResizeNearestPluginCreator and the plugin class ResizeNearest.
The following parameters were used to create ResizeNearest instance:
| Type | Parameter | Description |
|---|---|---|
float | scale | Scale factor for resize |
The following resources provide a deeper understanding of the ResizeNearest plugin:
For terms and conditions for use, reproduction, and distribution, see the TensorRT Software License Agreement documentation.
May 2025 Add deprecation note.
June 2019
This is the first release of this README.md file.
There are no known issues in this plugin.