You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Suhas via TVM Discuss <no...@discuss.tvm.ai> on 2020/05/21 09:28:31 UTC

[TVM Discuss] [Questions] Issues with quantization, dense turned on


I was trying to quantize model which is having dense layers in the main script the dense layers are turned off, But if I uncomment the 
 
´@register_annotate_function("nn.dense")´

which gives rise to 

  File "/home/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/quantize/_annotate.py", line 108, in frewrite_with_guard
    return func(ref_call, new_args, ctx)

  File "/home/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/quantize/_annotate.py", line 222, in multiply_rewrite
    raise ValueError
TVMError: ValueError

any idea what could be missing





---
[Visit Topic](https://discuss.tvm.ai/t/issues-with-quantization-dense-turned-on/6757/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/292bf14a2562fe3f556d424dd6ed43cd935ce4344af24359719988c0232ea1be).