Skip to content

Commit

Permalink
fix missing ffi binding of relay.attrs.DequantizeAttrs (#7054)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00-pl authored Dec 8, 2020
1 parent 3144cec commit 8ac40fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/tvm/relay/op/op_attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@ class QuantizeAttrs(Attrs):
"""Attributes used in quantize operators"""


@tvm._ffi.register_object("relay.attrs.DequantizeAttrs")
class DequantizeAttrs(Attrs):
"""Attributes used in dequantize operators"""


@tvm._ffi.register_object("relay.attrs.ReduceAttrs")
class ReduceAttrs(Attrs):
"""Attributes used in reduction operators (e.g. sum)"""
Expand Down

0 comments on commit 8ac40fa

Please sign in to comment.