Skip to main content

interpolate1d

Function interpolate1d 

Source
pub fn interpolate1d<B: Backend>(
    input: Tensor<B, 3>,
    output_size: usize,
    options: InterpolateOptions,
) -> Tensor<B, 3>
Available on crate feature api only.
Expand description

Resize native [batch, channels, length] activations.

Applies the existing interpolation kernel along the length axis, preserving its coordinate mapping, mode, storage and differentiable backward operation.