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

Method Output

oneflow/core/auto_parallel/binary_set.cpp:111–116  ·  view source on GitHub ↗

Output all the elements in the subset

Source from the content-addressed store, hash-verified

109
110// Output all the elements in the subset
111void BinarySet::Output(std::vector<int32_t>& out) const {
112 out.clear();
113 for (int32_t i = 0; i < size_of_set_; i++) {
114 if (CheckExistence(i)) { out.emplace_back(i); }
115 }
116}
117
118// Output all the elements in the subset
119void BinarySet::QuickOutput(std::vector<int32_t>& out) const {

Callers 15

EagerCclBroadcastFunction · 0.45
ApplyImplMethod · 0.45
ApplyMethod · 0.45
InsertPinnedIdentityOpFunction · 0.45
AddSspVarProxyOpMethod · 0.45
InsertCastOpImplFunction · 0.45
GenerateOptimizerOpConfFunction · 0.45

Calls 2

clearMethod · 0.45
emplace_backMethod · 0.45

Tested by 1

ThrowErrorFunctorMethod · 0.36