Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ copy_to
Function
copy_to
python/dgl/backend/mxnet/tensor.py:176–177 ·
view source on GitHub ↗
(input, ctx, **kwargs)
Source
from the content-addressed store, hash-verified
174
175
176
def
copy_to(input, ctx, **kwargs):
177
return
input.as_in_context(ctx)
178
179
180
def
is_pinned(input):
Callers
2
_scatter_nd
Function · 0.70
_gather_nd
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected