This is an automated email from the ASF dual-hosted git repository.
yongwww pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 6632c88111 [Misc][BugFix] Fix missing PadAttrs register in op_attrs.py
(#18174)
6632c88111 is described below
commit 6632c881114ae0ea2f160b86352bdcd0223a4108
Author: ysh329 <[email protected]>
AuthorDate: Thu Jul 31 05:55:17 2025 +0800
[Misc][BugFix] Fix missing PadAttrs register in op_attrs.py (#18174)
* [COMMUNITY] Add new key for release signing
* [Misc][BugFix] Fix missing PadAttrs register in op_attrs.py
Fix missing PadAttrs register in op_attrs.py
---
python/tvm/relax/op/op_attrs.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/python/tvm/relax/op/op_attrs.py b/python/tvm/relax/op/op_attrs.py
index dd30215ef6..3e0f87c487 100644
--- a/python/tvm/relax/op/op_attrs.py
+++ b/python/tvm/relax/op/op_attrs.py
@@ -197,3 +197,8 @@ class EinsumAttrs(Attrs):
@tvm.ffi.register_object("relax.attrs.FlipAttrs")
class FlipAttrs(Attrs):
"""Attributes for flip operator"""
+
+
[email protected]_object("relax.attrs.PadAttrs")
+class PadAttrs(Attrs):
+ """Attributes used in pad operator"""