MCPcopy Create free account
hub / github.com/apache/tvm-ffi / __eq__

Method __eq__

python/tvm_ffi/structural.py:231–233  ·  view source on GitHub ↗

Compare by structural equality.

(self, other: Any)

Source from the content-addressed store, hash-verified

229 return self.hash_i64 & 0xFFFFFFFFFFFFFFFF
230
231 def __eq__(self, other: Any) -> bool:
232 """Compare by structural equality."""
233 return isinstance(other, StructuralKey) and _ffi_api.StructuralKeyEqual(self, other)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected