Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ fill_like
Function
fill_like
imperative/python/megengine/xla/rules/tensor.py:207–208 ·
view source on GitHub ↗
(value, inp: HLOTensor)
Source
from the content-addressed store, hash-verified
205
206
207
def
fill_like(value, inp: HLOTensor):
208
return
fill(value, inp.shape, inp.dtype)
209
210
211
def
zeros_like(inp: HLOTensor):
Callers
nothing calls this directly
Calls
1
fill
Function · 0.85
Tested by
no test coverage detected