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

Function do_sync_from_var

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

Source from the content-addressed store, hash-verified

292 InferResult do_infer(const InpVal& inp) override;
293
294 InferResult do_sync_from_var() override { return set_shape(tag()->shape()); }
295
296public:
297 using Super::Super;

Callers 1

sync_from_varMethod · 0.85

Calls 4

shapeMethod · 0.45
copy_fromMethod · 0.45
syncMethod · 0.45
dev_tensorMethod · 0.45

Tested by

no test coverage detected