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

Function CheckAndCompleteUserOpConf

python/oneflow/framework/c_api_util.py:85–90  ·  view source on GitHub ↗
(op_conf_proto)

Source from the content-addressed store, hash-verified

83
84
85def CheckAndCompleteUserOpConf(op_conf_proto):
86 serialized_op_conf = str(text_format.MessageToString(op_conf_proto))
87 new_op_conf = oneflow._oneflow_internal.CheckAndCompleteUserOpConf(
88 serialized_op_conf
89 )
90 return text_format.Parse(new_op_conf, op_conf_util.OperatorConf())
91
92
93def GetFunctionConfigDef():

Callers

nothing calls this directly

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected