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

Function init

dnn/test/fallback/gi.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#endif
23template <typename T>
24static void init(
25 T* dst, const std::vector<T>& value, const size_t simd_len = SIMD_LEN) {
26 for (size_t i = 0; i < simd_len; i++) {
27 dst[i] = value[i];
28 }
29}
30
31template <typename T>
32static void assert_eq(T* a, const std::vector<T>& b, const size_t simd_len = SIMD_LEN) {

Callers 15

TEST_FFunction · 0.70
mgb-opt.cppFile · 0.50
def_rendezvousFunction · 0.50
init_graph_rtFunction · 0.50
init_tensorFunction · 0.50
init_commonFunction · 0.50
ValueRefListMethod · 0.50
value.cppFile · 0.50
put_implMethod · 0.50
dispatch_kernelMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected