8000 updated README · pytorch/serve@d1e7104 · GitHub
[go: up one dir, main page]

Skip to content < 8000 /span>

Commit d1e7104

Browse files
authored
updated README
1 parent 773434f commit d1e7104

File tree

1 file changed

+2
-2
lines changed
  • examples/intel_extension_for_pytorch

1 file changed

+2
-2
lines changed

examples/intel_extension_for_pytorch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ dummy_tensor = torch.ones((N, max_length), dtype=torch.long)
9393
9494
# calibration
9595
# ipex supports two quantization schemes to be used for activation: torch.per_tensor_affine and torch.per_tensor_symmetric
96-
# default qscheme is $torch.per_tensor_affine$
96+
# default qscheme is torch.per_tensor_affine
9797
conf = ipex.quantization.QuantConf(qscheme=torch.per_tensor_affine)
9898
n_iter = 100
9999
with torch.no_grad():
@@ -139,7 +139,7 @@ dummy_tensor = torch.randn(N, C, H, W).contiguous(memory_format=torch.channels_l
139139
140140
# calibration
141141
# ipex supports two quantization schemes to be used for activation: torch.per_tensor_affine and torch.per_tensor_symmetric
142-
# default qscheme is $torch.per_tensor_affine$
142+
# default qscheme is torch.per_tensor_affine
143143
conf = ipex.quantization.QuantConf(qscheme=torch.per_tensor_symmetric)
144144
n_iter = 100
145145
with torch.no_grad():

0 commit comments

Comments
 (0)
0