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

Method get_workspace_in_bytes

dnn/src/cambricon/cond_take/opr_impl.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64size_t CondTakeImpl::get_workspace_in_bytes(
65 const TensorLayout& data, const TensorLayout& mask) {
66 return make_bundle(data, mask).total_size_in_bytes();
67}
68
69CondTakeImpl::Output CondTakeImpl::exec(
70 _megdnn_tensor_in data, _megdnn_tensor_in mask, _megdnn_workspace workspace,

Callers

nothing calls this directly

Calls 2

make_bundleFunction · 0.85
total_size_in_bytesMethod · 0.80

Tested by

no test coverage detected