From c945a5bb5e368a61902a4e1b5dd92382edd9001a Mon Sep 17 00:00:00 2001 From: XiaobingSuper Date: Wed, 20 Jan 2021 17:40:26 -0800 Subject: [PATCH] fix typo of quantized README.md (#50681) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/50681 Reviewed By: ngimel Differential Revision: D25978905 Pulled By: jerryzh168 fbshipit-source-id: e8bff59a7a6b2b6f79273c010c32480db0997e7d --- aten/src/ATen/native/quantized/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aten/src/ATen/native/quantized/README.md b/aten/src/ATen/native/quantized/README.md index 96878009c61d..62c4a8a1f9e1 100644 --- a/aten/src/ATen/native/quantized/README.md +++ b/aten/src/ATen/native/quantized/README.md @@ -21,7 +21,7 @@ Tensor quantized_xand(Tensor qa, Tensor qb) { // Some type checks for qa and qb should be here... Tensor qc; double scale = qa.q_scale(); - long zero_point qa.q_zero_point(); + int64_t zero_point = qa.q_zero_point(); auto iter = TensorIterator::binary_op(qc, qa, qb);