3 instantiations of OnnxVariableInfo
Microsoft.ML.OnnxTransformer (3)
OnnxUtils.cs (3)
332
info = new
OnnxVariableInfo
(name, shapeDictionary[name].ToList(), meta.ElementType, dataViewType, caster);
339
info = new
OnnxVariableInfo
(name, null, typeof(NamedOnnxValue), dataViewType, caster);
341
info = new
OnnxVariableInfo
(name, meta.Dimensions.ToList(), meta.ElementType, dataViewType, caster);
14 references to OnnxVariableInfo
Microsoft.ML.OnnxTransformer (14)
OnnxTransform.cs (3)
295
var
outputInfo = Model.ModelInfo.GetOutput(Outputs[i]);
518
var
inputNodeInfo = model.ModelInfo.GetInput(_parent.Inputs[i]);
1077
var
inputNodeInfo = inputsInfo[idx];
OnnxUtils.cs (11)
49
public
OnnxVariableInfo
[] InputsInfo { get; }
53
public
OnnxVariableInfo
[] OutputsInfo { get; }
58
public
OnnxVariableInfo
[] InitializersInfo { get; }
60
public OnnxModelInfo(IEnumerable<
OnnxVariableInfo
> inputsInfo, IEnumerable<
OnnxVariableInfo
> outputsInfo, IEnumerable<
OnnxVariableInfo
> initializersInfo)
73
public
OnnxVariableInfo
GetInput(string name)
91
public
OnnxVariableInfo
GetOutput(string name)
296
private List<
OnnxVariableInfo
> GetOnnxVariablesFromMetadata(IReadOnlyDictionary<string, NodeMetadata> nodeMetadata,
301
var onnxVariableInfos = new List<
OnnxVariableInfo
>();
314
OnnxVariableInfo
info = null;