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

Method setup_value

src/opr/impl/io.cpp:513–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511 MGB_MUTEX m_mtx;
512
513 void setup_value(Value& dest, const HostTensorND& val) {
514 dest.setup(m_comp_node, val);
515 }
516
517public:
518 //! max number of elements for a tensor to be stored in this cache

Callers

nothing calls this directly

Calls 1

setupMethod · 0.45

Tested by

no test coverage detected