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

Method exec

dnn/src/naive/check_non_finite/opr_impl.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace naive {
36
37void CheckNonFiniteImpl::exec(
38 _megdnn_in const TensorNDArray& srcs, _megdnn_tensor_out dst,
39 _megdnn_workspace workspace) {
40 check_exec(srcs, dst, workspace.size);
41 float scale = param().scale;
42 auto handle = static_cast<HandleImpl*>(this->handle());
43 MEGDNN_DISPATCH_CPU_KERN(handle, reduce_fwd(srcs, dst.ptr<dt_int32>(), scale));
44}
45} // namespace naive
46} // namespace megdnn
47

Callers

nothing calls this directly

Calls 3

reduce_fwdFunction · 0.70
paramFunction · 0.50
handleMethod · 0.45

Tested by

no test coverage detected