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

Method blob

src/gopt/impl/global_layout_transform/profiler_cache.cpp:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122PersistentCache::Blob ProfilerCache::Key::blob() const {
123 mgb_assert(!m_blob_storage.empty());
124 return {m_blob_storage.data(), m_blob_storage.size()};
125}
126
127ProfilerCache& ProfilerCache::inst() {
128 static ProfilerCache inst;

Callers 15

apply_on_physical_tensorFunction · 0.80
apply_on_physical_tensorFunction · 0.80
apply_on_physical_tensorFunction · 0.80
apply_on_physical_tensorFunction · 0.80
apply_on_physical_tensorFunction · 0.80
apply_on_physical_tensorFunction · 0.80
apply_on_physical_tensorFunction · 0.80
apply_on_physical_tensorFunction · 0.80
produce_tensorMethod · 0.80
do_apply_opMethod · 0.80
auto_evictMethod · 0.80

Calls 3

emptyMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

apply_on_physical_tensorFunction · 0.64