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

Method same_as

python/tvm/ir/type.py:38–40  ·  view source on GitHub ↗

Compares two TVM types by referential equality.

(self, other)

Source from the content-addressed store, hash-verified

36 return not self.__eq__(other)
37
38 def same_as(self, other):
39 """Compares two TVM types by referential equality."""
40 return super().__eq__(other)
41
42
43@tvm_ffi.register_object("ir.PrimType")

Callers 15

existMethod · 0.45
_gen_warp_shuffle_reduceFunction · 0.45
_check_unit_var_rangeMethod · 0.45
_normalize_buffer_argMethod · 0.45
__nonzero__Method · 0.45
__nonzero__Method · 0.45
visit_evaluate_Method · 0.45
test_match_castFunction · 0.45
test_prim_value_with_varFunction · 0.45
test_callFunction · 0.45

Calls 1

__eq__Method · 0.45

Tested by 15

test_match_castFunction · 0.36
test_prim_value_with_varFunction · 0.36
test_callFunction · 0.36
visit_var_binding_Method · 0.36
visit_match_cast_Method · 0.36
visit_var_Method · 0.36
test_expr_constructorFunction · 0.36
test_const_fold2Function · 0.36
test_const_fold3Function · 0.36
test_buffer_flattenFunction · 0.36