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

Function GetPartialSumSbpParallel

oneflow/api/python/symbol/sbp_symbol.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57Maybe<Symbol<SbpParallel>> GetPartialSumSbpParallel() {
58 static Symbol<SbpParallel> partial_sum_sbp = JUST(MakePartialSumSbpParallel());
59 return partial_sum_sbp;
60}
61
62Maybe<std::pair<std::string, int>> SbpGetState(const Symbol<SbpParallel>& sbp) {
63 if (sbp->has_broadcast_parallel()) {

Callers 1

GetSbpFromStateFunction · 0.85

Calls 1

Tested by

no test coverage detected