blace.ai
blace::ops::Interpolate2DOp Class Reference

#include <public_ops.h>

Inheritance diagram for blace::ops::Interpolate2DOp:

Public Member Functions

 Interpolate2DOp (OpP node, int height, int width, ml_core::Interpolation interpolation, bool align_corners, bool antialias)
 

Detailed Description

Interpolates a 2d tensor.

Constructor & Destructor Documentation

◆ Interpolate2DOp()

blace::ops::Interpolate2DOp::Interpolate2DOp ( OpP  node,
int  height,
int  width,
ml_core::Interpolation  interpolation,
bool  align_corners,
bool  antialias 
)

Construct a 2d Interpolation node.

Parameters
nodeThe input node.
heightNew height.
widthNew width.
interpolationInterpolation type.
align_cornersAlign corners, see pytorch reference implementation.
antialiasUse antialiasing, see pytorch reference implementation.