Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ Add
Class
Add
tests/python/test_dataclass_py_class.py:752–753 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
750
751
@py_class(_unique_key(
"NPCAdd"
))
752
class
Add(BaseBinOp):
753
pass
754
755
obj = Add(lhs=1, rhs=2, x=0)
# ty: ignore[unknown-argument]
756
assert obj.x == 0
Callers
2
test_collects_fields_from_non_py_class_parent
Method · 0.85
test_collects_non_py_class_parent_field_options
Method · 0.85
Calls
no outgoing calls
Tested by
2
test_collects_fields_from_non_py_class_parent
Method · 0.68
test_collects_non_py_class_parent_field_options
Method · 0.68