pytorch
7195b78a - [quant] Add from_blob_quantized_per_tensor API (#61986)

Commit
3 years ago
[quant] Add from_blob_quantized_per_tensor API (#61986) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61986 Adds a new function that accepts qint data blobs as input and creates a quantized tensor using the pre-allocated data and the provided scale and zero_point inputs Addresses issue https://github.com/pytorch/pytorch/issues/61777 Test Plan: ./build/bin/quantized_test --gtest_filter='TestQTensor.FromBlobQuantizedPerTensor' Imported from OSS Reviewed By: kimishpatel Differential Revision: D29831135 fbshipit-source-id: b08299bbe9e939fedff98a585e6b12c14d31f17e
Author
Parents
Loading