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

Method __nonzero__

python/tvm/tirx/expr.py:292–293  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

290 self.span = span
291
292 def __nonzero__(self) -> bool:
293 return not self.a.same_as(self.b)
294
295 def __bool__(self) -> bool:
296 return self.__nonzero__()

Callers 1

__bool__Method · 0.95

Calls 1

same_asMethod · 0.45

Tested by

no test coverage detected