Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ Hash
Class
Hash
tests/python/test_dataclass_py_class.py:644–645 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
642
def
test_unsafe_hash(self) -> None:
643
@py_class(_unique_key(
"Hash"
), eq=True, unsafe_hash=True)
644
class
Hash(Object):
645
x: int
646
647
a = Hash(x=1)
648
b = Hash(x=1)
Callers
6
FFIStructuralHash
Function · 0.85
test_unsafe_hash
Method · 0.85
TEST
Function · 0.85
TEST
Function · 0.85
operator()
Method · 0.85
StructuralKeyObj
Method · 0.85
Implementers
1
string.rs
rust/tvm-ffi/src/string.rs
Calls
no outgoing calls
Tested by
3
test_unsafe_hash
Method · 0.68
TEST
Function · 0.68
TEST
Function · 0.68