mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20608 Exposing QScheme in python as Python objects like `torch.qscheme.per_tensor_affine` etc. Reviewed By: zafartahirov Differential Revision: D15364354 fbshipit-source-id: 4d6a96d67e9ead051cf4a8f934553a8c7232fdb7
10 lines
186 B
C++
10 lines
186 B
C++
#pragma once
|
|
#include <torch/csrc/QScheme.h>
|
|
|
|
namespace torch { namespace utils {
|
|
|
|
PyObject* getTHPQScheme(at::QScheme qscheme);
|
|
void initializeQSchemes();
|
|
|
|
}} // namespace torch::utils
|