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

Method __bool__

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

Source from the content-addressed store, hash-verified

253 return self.a.same_as(self.b)
254
255 def __bool__(self) -> bool:
256 return self.__nonzero__()
257
258 def asobject(self) -> PrimExpr:
259 """Convert object."""

Callers

nothing calls this directly

Calls 1

__nonzero__Method · 0.95

Tested by

no test coverage detected