MCPcopy
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
176def copy_to(input, ctx, **kwargs):
177 return input.as_in_context(ctx)
178
179
180def is_pinned(input):

Callers 2

_scatter_ndFunction · 0.70
_gather_ndFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected