Skip to content
fn

interpolate_trilinear_op

→TensorImplPtr
int interpolate_trilinear_op(const int & input, int D_out, int H_out, int W_out, bool align_corners)

Public 3-D trilinear resize with autograd.

Parameters

inputTensorImplPtr
5-D input tensor (N, C, D_in, H_in, W_in).
D_outint
Desired output depth.
H_outint
Desired output height.
W_outint
Desired output width.
align_cornersbool
Coordinate mapping mode.

Returns

TensorImplPtr

Trilinearly resampled tensor of shape (N, C, D_out, H_out, W_out).