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

Method get_workspace_in_bytes

dnn/src/cambricon/powc/opr_impl.cpp:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29size_t PowCImpl::get_workspace_in_bytes(
30 const TensorLayout& src, const TensorLayout& dst) {
31 return make_bundle(src, dst).total_size_in_bytes();
32}
33
34template <typename T>
35void PowCImpl::do_exec_ct(

Callers

nothing calls this directly

Calls 2

make_bundleFunction · 0.85
total_size_in_bytesMethod · 0.80

Tested by

no test coverage detected