MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / SoftSyncNNGraphBuffers

Method SoftSyncNNGraphBuffers

oneflow/core/framework/instructions_builder.cpp:198–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198Maybe<void> InstructionsBuilder::SoftSyncNNGraphBuffers(
199 const vm::EagerBlobObjectListPtr& eager_blob_objects,
200 const std::shared_ptr<NNGraphIf>& nn_graph) {
201 const auto& stream = JUST(GetCriticalSectionStream());
202 JUST(SoftSyncStream(*eager_blob_objects, stream));
203 return Maybe<void>::Ok();
204}
205
206namespace {
207

Callers 3

__runMethod · 0.80
SoftSyncNNGraphBuffersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected