3 instantiations of ModelProto
Microsoft.ML.OnnxConverter (3)
OnnxMl.cs (2)
1522private static readonly pb::MessageParser<ModelProto> _parser = new pb::MessageParser<ModelProto>(() => new ModelProto()); 1565return new ModelProto(this);
OnnxUtils.cs (1)
301var model = new ModelProto();
21 references to ModelProto
Microsoft.ML.OnnxConverter (19)
OnnxContextImpl.cs (1)
423public OnnxCSharpToProtoWrapper.ModelProto MakeModel()
OnnxExportExtensions.cs (3)
18private static ModelProto ConvertToOnnxProtobufCore(IHostEnvironment env, OnnxContextImpl ctx, ITransformer transform, IDataView inputData, string[] outputColumnNamesToKeep = null) 50internal static ModelProto ConvertToOnnxProtobuf(this ModelOperationsCatalog catalog, ITransformer transform, IDataView inputData, string[] outputColumns = null) 66internal static ModelProto ConvertToOnnxProtobuf(this ModelOperationsCatalog catalog, ITransformer transform, IDataView inputData, int opSetVersion)
OnnxMl.cs (11)
116new pbr::GeneratedClrTypeInfo(typeof(global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.ModelProto), global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.ModelProto.Parser, new[]{ "IrVersion", "OpsetImport", "ProducerName", "ProducerVersion", "Domain", "ModelVersion", "DocString", "Graph", "MetadataProps" }, null, null, null, null), 1520public sealed partial class ModelProto : pb::IMessage<ModelProto> 1522private static readonly pb::MessageParser<ModelProto> _parser = new pb::MessageParser<ModelProto>(() => new ModelProto()); 1525public static pb::MessageParser<ModelProto> Parser { get { return _parser; } } 1548public ModelProto(ModelProto other) : this() 1563public ModelProto Clone() 1728return Equals(other as ModelProto); 1732public bool Equals(ModelProto other) 1868public void MergeFrom(ModelProto other)
OnnxUtils.cs (2)
287public static ModelProto MakeModel(List<NodeProto> nodes, string producerName, string name, 301var model = new ModelProto();
SaveOnnxCommand.cs (2)
164internal static ModelProto ConvertTransformListToOnnxModel(OnnxContextImpl ctx, IChannel ch, IDataView inputData, IDataView outputData, 398var model = ConvertTransformListToOnnxModel(ctx, ch, source, end, transforms, _inputsToDrop, _outputsToDrop);
Microsoft.ML.Tests (2)
OnnxConversionTest.cs (2)
510var model = ctxImpl.MakeModel(); 811var onnxModel = SaveOnnxCommand.ConvertTransformListToOnnxModel(onnxConversionContext, conversionChannel, root, sink, transforms,