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

Method update_output_var_shapes

src/core/impl/graph/cg_impl.cpp:81–86  ·  view source on GitHub ↗

========================== global helpers ========================== */

Source from the content-addressed store, hash-verified

79
80/* ========================== global helpers ========================== */
81void cg::update_output_var_shapes(OperatorNodeBase* opr) {
82 update_output_shapes(
83 static_cast<static_infer::StaticInferManagerImpl&>(
84 opr->owner_graph()->static_infer_manager()),
85 opr, false);
86}
87
88/* ========================= DeviceMemoryAllocator ========================= */
89void DeviceMemoryAllocator::alloc_static(

Callers

nothing calls this directly

Calls 2

update_output_shapesFunction · 0.85
owner_graphMethod · 0.45

Tested by

no test coverage detected