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

Method __ffi_eq__

tests/python/test_dataclass_compare.py:1301–1302  ·  view source on GitHub ↗
(self, other: _PyEqHash, fn_eq: _Callable_cmp[..., _Any_cmp])

Source from the content-addressed store, hash-verified

1299 return fn_hash(self.key)
1300
1301 def __ffi_eq__(self, other: _PyEqHash, fn_eq: _Callable_cmp[..., _Any_cmp]) -> bool:
1302 return fn_eq(self.key, other.key)
1303
1304
1305@_py_class_cmp(_unique_key_cmp("PyCmp"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected