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

Method __eq__

python/tvm/relax/expr.py:70–72  ·  view source on GitHub ↗

Compare two struct info for structural equivalence.

(self, other)

Source from the content-addressed store, hash-verified

68 """
69
70 def __eq__(self, other):
71 """Compare two struct info for structural equivalence."""
72 return tvm_ffi.structural_equal(self, other)
73
74 def __ne__(self, other):
75 return not self.__eq__(other)

Callers 2

__ne__Method · 0.95
same_asMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected