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

Method UniformRNGImpl

dnn/src/cambricon/rng/opr_impl.cpp:39–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39UniformRNGImpl::UniformRNGImpl(Handle* handle)
40 : UniformRNG(handle), m_rand_handle(cnnl_handle(handle)) {}
41
42void UniformRNGImpl::exec(_megdnn_tensor_inout dst, _megdnn_workspace workspace) {
43 check_exec(dst.layout, workspace.size);

Callers

nothing calls this directly

Calls 1

cnnl_handleFunction · 0.85

Tested by

no test coverage detected