Skip to content

Commit

Permalink
Add missing simd param in qat tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenp committed Nov 1, 2023
1 parent 143f090 commit 64fb684
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tutorials/notebooks/example_keras_qat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
3 changes: 2 additions & 1 deletion tutorials/notebooks/example_keras_qat.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ def get_tpc():
quantization_preserving=False,
fixed_scale=1.0,
fixed_zero_point=0,
weights_multiplier_nbits=0)
weights_multiplier_nbits=0,
simd_size=None)

default_configuration_options = tp.QuantizationConfigOptions([default_config])
tp_model = tp.TargetPlatformModel(default_configuration_options)
Expand Down
3 changes: 2 additions & 1 deletion tutorials/notebooks/example_pytorch_qat.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ def get_tpc():
quantization_preserving=False,
fixed_scale=1.0,
fixed_zero_point=0,
weights_multiplier_nbits=0)
weights_multiplier_nbits=0,
simd_size=None)

default_configuration_options = tp.QuantizationConfigOptions([default_config])
tp_model = tp.TargetPlatformModel(default_configuration_options)
Expand Down

0 comments on commit 64fb684

Please sign in to comment.