Table of Contents
Shortcuts

# upsample_bilinear

class torch.ao.nn.quantized.functional.upsample_bilinear(input, size=None, scale_factor=None)

  Upsamples the input, using bilinear upsampling.

  Warning

  This function is deprecated in favor of `torch.ao.nn.quantized.functional.interpolate()`. This is equivalent with `nn.quantized.functional.interpolate(..., mode='bilinear', align_corners=True)`.

  Note

  The input quantization parameters propagate to the output.

  Note

  Only 2D inputs are supported

  Parameters:

    - input (Tensor) – quantized input

    - size (int or Tuple[int, int]) – output spatial size.

    - scale_factor (int or Tuple[int, int]) – multiplier for spatial size

## Docs

Access comprehensive developer documentation for PyTorch

View Docs

## Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

## Resources

Find development resources and get your questions answered

View Resources

To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy.