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

Method get_deps

src/core/impl/graph/static_infer_impl.cpp:985–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

983}
984
985DepVal StaticInferManagerImpl::get_deps(const DepElement& elem) {
986 auto trait_base = get_tag_trait_container(elem.dest).select(elem.type);
987 if (!trait_base || trait_base->is_const())
988 return {};
989
990 return trait_base->as_mutable_safe()->raw_deps();
991}
992
993/* ===================== CompSeqManager ===================== */
994

Callers 2

to_jsonMethod · 0.80

Calls 2

is_constMethod · 0.80
selectMethod · 0.45

Tested by

no test coverage detected