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

Method __eq__

python/tvm_ffi/container.py:701–705  ·  view source on GitHub ↗

Structural equality.

(self, other: object)

Source from the content-addressed store, hash-verified

699 return _ffi_api.DictCount(self, k) != 0
700
701 def __eq__(self, other: object) -> bool:
702 """Structural equality."""
703 if not (isinstance(other, type(self)) or isinstance(self, type(other))):
704 return NotImplemented
705 return _ffi_api.RecursiveEq(self, other)
706
707 def __ne__(self, other: object) -> bool:
708 """Structural inequality."""

Callers 2

__ne__Method · 0.95

Calls

no outgoing calls