Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ __rmul__
Method
__rmul__
imperative/python/megengine/xla/rules/hlotensor.py:126–129 ·
view source on GitHub ↗
(self, rhs)
Source
from the content-addressed store, hash-verified
124
return
mul(self, rhs)
125
126
def
__rmul__(self, rhs):
127
from
.elemwise
import
mul
128
129
return
mul(rhs, self)
130
131
def
__truediv__(self, rhs):
132
from
.elemwise
import
div
Callers
nothing calls this directly
Calls
1
mul
Function · 0.50
Tested by
no test coverage detected