MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / proxy_to_default_cpu

Method proxy_to_default_cpu

src/core/include/megbrain/tensor.h:545–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543 typename = std::enable_if_t<
544 x && std::is_same<TensorStorage, HostTensorStorage>::value>>
545 DeviceTensorND proxy_to_default_cpu() const {
546 DeviceTensorND ret;
547 ret.reset(storage().proxy_to_default_cpu(), layout());
548 return ret;
549 }
550
551 template <
552 bool x = true,

Callers 15

get_static_infer_valueFunction · 0.45
as_tensorMethod · 0.45
apply_on_physical_tensorFunction · 0.45
apply_on_physical_tensorFunction · 0.45
apply_on_physical_tensorFunction · 0.45
apply_on_physical_tensorFunction · 0.45
memory_forward_successFunction · 0.45
apply_on_physical_tensorFunction · 0.45

Calls 1

resetMethod · 0.45

Tested by 1

TESTFunction · 0.36