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

Method deserialize

src/rdnn/impl/profiler.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99template <typename Opr>
100megdnn::ExecutionPolicy TimedProfiler<Opr>::Param::ExecutionPolicyBlob::deserialize()
101 const {
102 uint32_t offset = 0;
103 auto&& ret = deserialize_policy(data, size, offset);
104 mgb_assert(offset == size);
105 return std::move(ret);
106}
107
108#define INST(Opr) \
109 template typename TimedProfiler<megdnn::Opr>::Param::ExecutionPolicyBlob \

Callers 2

deserialize_infer_optionFunction · 0.45
prof_implMethod · 0.45

Calls 1

deserialize_policyFunction · 0.85

Tested by

no test coverage detected