(op_conf_proto)
| 83 | |
| 84 | |
| 85 | def 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 | |
| 93 | def GetFunctionConfigDef(): |