Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches

◆ NN_interpolate()

void NN_interpolate ( Tensor out,
const Tensor in,
const float *  scale_factor 
)

Down/up samples the input.

Tensor interpolated to either the given size or the given scale_factor The algorithm used for interpolation is determined by mode.

Parameters
outthe output tensor
inputthe input tensor