Unverified Commit 5e335207 authored by Erfandarzi's avatar Erfandarzi Committed by GitHub
Browse files

Documentation typo fix in DoReFa compression (#3693)


Co-authored-by: default avatarDarzidehkalani <BehDarzidehkaE@umcg.nl>
Co-authored-by: default avatarErfanDarzi <Erfandarzi@gmail.com>
parent a8879dd6
...@@ -162,7 +162,7 @@ PyTorch code ...@@ -162,7 +162,7 @@ PyTorch code
config_list = [{ config_list = [{
'quant_types': ['weight'], 'quant_types': ['weight'],
'quant_bits': 8, 'quant_bits': 8,
'op_types': 'default' 'op_types': ['default']
}] }]
quantizer = DoReFaQuantizer(model, config_list) quantizer = DoReFaQuantizer(model, config_list)
quantizer.compress() quantizer.compress()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment