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

Method __eq__

python/tvm_ffi/access_path.py:125–129  ·  view source on GitHub ↗

Return whether two access paths are equal.

(self, other: Any)

Source from the content-addressed store, hash-verified

123 return AccessPath._root()
124
125 def __eq__(self, other: Any) -> bool:
126 """Return whether two access paths are equal."""
127 if not isinstance(other, AccessPath):
128 return False
129 return self._path_equal(other)
130
131 def __ne__(self, other: Any) -> bool:
132 """Return whether two access paths are not equal."""

Callers

nothing calls this directly

Calls 1

_path_equalMethod · 0.95

Tested by

no test coverage detected