.xbuilder.reverse_graph_builder

class experimental_experiment.xbuilder.reverse_graph_builder.CustomBuilderEmitter(make_model_function: str = 'make_my_model')[source]

Custom onnx_array_api.translate_api.builder_emitter.BuilderEmitter.

experimental_experiment.xbuilder.reverse_graph_builder.to_graph_builder_code(proto: ModelProto, function_name: str = 'build_model') str[source]

Produces a code building a model with experimental_experiment.xbuilder.GraphBuilder.

Parameters:
  • proto – model to convert into a code

  • function_name – function name

Returns:

str