blace.ai
|
#include <public_ops.h>
Public Member Functions | |
Interpolate2DOp (OpP node, int height, int width, ml_core::Interpolation interpolation, bool align_corners, bool antialias) | |
Interpolates a 2d tensor.
blace::ops::Interpolate2DOp::Interpolate2DOp | ( | OpP | node, |
int | height, | ||
int | width, | ||
ml_core::Interpolation | interpolation, | ||
bool | align_corners, | ||
bool | antialias | ||
) |
Construct a 2d Interpolation node.
node | The input node. |
height | New height. |
width | New width. |
interpolation | Interpolation type. |
align_corners | Align corners, see pytorch reference implementation. |
antialias | Use antialiasing, see pytorch reference implementation. |