fn
interpolate_bilinear_op
→TensorImplPtrint interpolate_bilinear_op(const int & input, int H_out, int W_out, bool align_corners)Public 2-D bilinear resize with autograd.
Thin wrapper that delegates to InterpolateBilinearBackward::forward.
Parameters
inputTensorImplPtr4-D input tensor
(N, C, H_in, W_in).H_outintDesired output height.
W_outintDesired output width.
align_cornersboolCoordinate mapping mode.
Returns
TensorImplPtrBilinearly resampled tensor of shape (N, C, H_out, W_out).