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

Method py_put

imperative/python/src/utils.cpp:455–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453 }
454
455 void py_put(std::string category, std::string key, std::string value) {
456 get_impl()->put(
457 category, {key.data(), key.size()}, {value.data(), value.size()});
458 }
459
460 void flush() {
461 if (impl) {

Callers

nothing calls this directly

Calls 3

putMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected