• Docs >
  • Library API >
  • Function at::_empty_affine_quantized(at::IntArrayRef, at::TensorOptions, double, int64_t, c10::optional<at::MemoryFormat>)
  • Edit on GitHub
Shortcuts

Function at::_empty_affine_quantized(at::IntArrayRef, at::TensorOptions, double, int64_t, c10::optional<at::MemoryFormat>)

Function Documentation

at::Tensor at::_empty_affine_quantized(at::IntArrayRef size, at::TensorOptions options = {}, double scale = 1, int64_t zero_point = 0, c10::optional<at::MemoryFormat> memory_format = MemoryFormat::Contiguous)

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