2 implementations of INamedOnnxValueGetter
Microsoft.ML.OnnxTransformer (2)
OnnxTransform.cs (2)
845
private class NameOnnxValueGetter<T> :
INamedOnnxValueGetter
863
private class NamedOnnxValueGetterVec<T> :
INamedOnnxValueGetter
11 references to INamedOnnxValueGetter
Microsoft.ML.OnnxTransformer (11)
OnnxTransform.cs (11)
685
private void UpdateCacheIfNeeded(long position,
INamedOnnxValueGetter
[] srcNamedOnnxValueGetters, List<string> activeOutputColNames, OnnxRuntimeOutputCacher outputCache)
708
private Delegate MakeTensorGetter<T>(DataViewRow input, int iinfo,
INamedOnnxValueGetter
[] srcNamedValueGetters,
727
private Delegate MakeStringTensorGetter(DataViewRow input, int iinfo,
INamedOnnxValueGetter
[] srcNamedValueGetters,
751
private Delegate MakeObjectGetter<T>(DataViewRow input, int iinfo,
INamedOnnxValueGetter
[] srcNamedValueGetters,
770
/// For each required input of the ONNX model, there will be a <see cref="
INamedOnnxValueGetter
"/>,
773
private static
INamedOnnxValueGetter
[] GetNamedOnnxValueGetters(DataViewRow input,
778
var srcNamedOnnxValueGetters = new
INamedOnnxValueGetter
[inputColIndices.Length];
795
private static
INamedOnnxValueGetter
CreateNamedOnnxValueGetter(DataViewRow input, Type onnxType, int colIndex, OnnxShape onnxShape)
809
private static
INamedOnnxValueGetter
CreateNamedOnnxValueGetterCore<T>(DataViewRow input, int colIndex, OnnxShape onnxShape)
818
private static
INamedOnnxValueGetter
CreateNamedOnnxValueGetterVec(DataViewRow input, Type onnxType, int colIndex, OnnxShape onnxShape)
832
private static
INamedOnnxValueGetter
CreateNamedOnnxValueGetterVecCore<T>(DataViewRow input, int colIndex, OnnxShape onnxShape)