pytorch
67291ba7 - remove quantize_linear and dequantize from Tensor method (#20874)

Commit
5 years ago
remove quantize_linear and dequantize from Tensor method (#20874) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20874 A criteria for what should go in Tensor method is whether numpy has it, for this one it does not so we are removing it as a Tensor method, we can still call it as function. Python ``` torch.quantize_linear(t, ...), torch.dequantize(t) ``` C++ ``` at::quantize_linear(t, ...), at::dequantize(t) ``` Reviewed By: dzhulgakov Differential Revision: D15477933 fbshipit-source-id: c8aa81f681e02f038d72e44f0c700632f1af8437
Author
Parents
Loading