1 write to ModelInfo
Microsoft.ML.OnnxTransformer (1)
OnnxUtils.cs (1)
284ModelInfo = new OnnxModelInfo(inputInfos, outputInfos, overrideableInitializers);
13 references to ModelInfo
Microsoft.ML.OnnxTransformer (13)
OnnxTransform.cs (13)
288var modelInfo = Model.ModelInfo; 289Inputs = (options.InputColumns.Count() == 0) ? Model.ModelInfo.InputNames.ToArray() : options.InputColumns; 290Outputs = (options.OutputColumns.Count() == 0) ? Model.ModelInfo.OutputNames.ToArray() : options.OutputColumns; 292var numModelOutputs = Model.ModelInfo.OutputsInfo.Length; 295var outputInfo = Model.ModelInfo.GetOutput(Outputs[i]); 477return Model.ModelInfo.OutputNames.IndexOf(Outputs[iinfo]); 518var inputNodeInfo = model.ModelInfo.GetInput(_parent.Inputs[i]); 624if (_parent.Model.ModelInfo.OutputsInfo[_parent.MapDataViewColumnToOnnxOutputTensor(iinfo)].DataViewType is VectorDataViewType vectorType) 635var type = _parent.Model.ModelInfo.OutputsInfo[_parent.MapDataViewColumnToOnnxOutputTensor(iinfo)].DataViewType.RawType; 762var caster = _parent.Model.ModelInfo.OutputsInfo[_parent.MapDataViewColumnToOnnxOutputTensor(iinfo)].Caster; 1065if (Transformer.Model.ModelInfo.InputsInfo[i].Shape.Where(x => x == 0).Count() > 1) 1072var inputsInfo = Transformer.Model.ModelInfo.InputsInfo; 1073var idx = Transformer.Model.ModelInfo.InputNames.IndexOf(input);