Skip to content

Commit

Permalink
Fix selective quantization Colab
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 707188563
  • Loading branch information
v-dziuba authored and copybara-github committed Dec 17, 2024
1 parent 353abd9 commit 9b2aec6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion colabs/selective_quantization_isnet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@
"comparison_result = quantizer.validate(\n",
" test_data={'serving_default': [{'args_0': test_image}]},\n",
" error_metrics='median_diff_ratio',\n",
" use_reference_kernel=True,\n",
" use_xnnpack=False,\n",
" num_threads=1,\n",
").save('', 'dynamic')"
]
},
Expand Down

0 comments on commit 9b2aec6

Please sign in to comment.