guberti commented on code in PR #13242:
URL: https://github.com/apache/tvm/pull/13242#discussion_r1027624640


##########
python/tvm/relay/op/nn/_nn.py:
##########
@@ -877,6 +877,21 @@ def convert_deformable_conv2d(attrs, inputs, tinfos, 
desired_layouts):
     return relay.nn.deformable_conv2d(data, offset, weight, **new_attrs)
 
 
+# QNN ops
[email protected]_alter_op_layout("add")
+def alter_op_layout_add(attrs, inputs, tinfos, out_type):
+    """Alter the layout of a add op. Useful for fusing the bias constant with 
an input zero point

Review Comment:
   I've rewritten all the docstrings to have a summary line.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to