Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ __eq__
Method
__eq__
imperative/python/megengine/xla/rules/hlotensor.py:66–69 ·
view source on GitHub ↗
(self, rhs)
Source
from the content-addressed store, hash-verified
64
return
f
"HLOTensor(shape={self.shape}, dtype={self.dtype})"
65
66
def
__eq__(self, rhs):
67
from
.elemwise
import
equal
68
69
return
equal(self, rhs)
70
71
def
__ne__(self, rhs):
72
from
.elemwise
import
not_equal
Callers
nothing calls this directly
Calls
1
equal
Function · 0.85
Tested by
no test coverage detected