MCPcopy Index your code
hub / github.com/apache/tvm / same_as

Method same_as

python/tvm/relax/expr.py:77–79  ·  view source on GitHub ↗

Overload with structural equality.

(self, other)

Source from the content-addressed store, hash-verified

75 return not self.__eq__(other)
76
77 def same_as(self, other):
78 """Overload with structural equality."""
79 return super().__eq__(other)
80
81 def is_base_of(self, derived: "StructInfo") -> bool:
82 """Check if self is base of another derived struct info.

Callers 2

visit_tuple_getitem_Method · 0.45
__setitem__Method · 0.45

Calls 1

__eq__Method · 0.45

Tested by

no test coverage detected