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

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

Function Documentation

inline at::Tensor at::_empty_affine_quantized(at::IntArrayRef size, at::TensorOptions options = {}, double scale = 1, int64_t zero_point = 0, ::std::optional<at::MemoryFormat> memory_format = c10::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