Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81e7001

Browse files
authored
Update dynamic_quantization_tutorial.py (#1384)
1 parent 78cf46b commit 81e7001

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

advanced_source/dynamic_quantization_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def print_size_of_model(model):
271271
######################################################################
272272
# Second, we see faster inference time, with no difference in evaluation loss:
273273
#
274-
# Note: we number of threads to one for single threaded comparison, since quantized
274+
# Note: we set the number of threads to one for single threaded comparison, since quantized
275275
# models run single threaded.
276276

277277
torch.set_num_threads(1)

0 commit comments

Comments
 (0)