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

Method InferParallelSignatureIf

oneflow/core/operator/operator.cpp:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116const PbRpf<std::string>& Operator::input_output_bns() const { return input_output_bns_; }
117
118Maybe<void> Operator::InferParallelSignatureIf() {
119 JUST(InferBlobParallelDesc());
120 return Maybe<void>::Ok();
121}
122
123Maybe<const ParallelDesc> Operator::GetParallelDesc4BnInOp(const std::string& bn) const {
124 CHECK_OR_RETURN(bn2parallel_desc_);

Callers 3

InferMethod · 0.80
AddAndInferOpMethod · 0.80
InferLogicalBlobDescMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected