Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm
/ __nonzero__
Method
__nonzero__
python/tvm/tirx/expr.py:252–253 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
250
self.span = span
251
252
def
__nonzero__(self) -> bool:
253
return
self.a.same_as(self.b)
254
255
def
__bool__(self) -> bool:
256
return
self.__nonzero__()
Callers
1
__bool__
Method · 0.95
Calls
1
same_as
Method · 0.45
Tested by
no test coverage detected