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

Method GetParallelDesc

oneflow/core/job/scope.cpp:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75Maybe<Symbol<ParallelDesc>> Scope::GetParallelDesc(const OperatorConf& op_conf) const {
76 return placement_scope_->GetParallelDesc(op_conf.device_tag(), op_conf);
77}
78
79const AttrValue& Scope::GetAttrValue(const std::string& attr_name) const {
80 const auto& iter = scope_proto_.attr_name2attr_value().find(attr_name);

Callers 4

AddSspVarProxyOpMethod · 0.45
AddAndInferLocalOpMethod · 0.45
AddAndInferGlobalOpMethod · 0.45
ConstructAndInferOpFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected