49 references to AddIntermediateVariable
Microsoft.ML.Data (49)
Model\Onnx\OnnxContext.cs (3)
57/// variable is created through <see cref="AddIntermediateVariable(DataViewType, string, bool)"/>before realizing 105/// which ought to have been something returned from <see cref="AddIntermediateVariable(DataViewType, string, bool)"/></param> 119/// which ought to have been something returned from <see cref="OnnxContext.AddIntermediateVariable(DataViewType, string, bool)"/></param>
Prediction\Calibrator.cs (6)
1307var subNodeOutput = ctx.AddIntermediateVariable(NumberDataViewType.Single, "subNodeOutput"); 1312var divNodeOutput = ctx.AddIntermediateVariable(NumberDataViewType.Single, "binIndexOutput"); 1316var castOutput = ctx.AddIntermediateVariable(NumberDataViewType.Int64, "castOutput"); 1324var binIndexOutput = ctx.AddIntermediateVariable(NumberDataViewType.Int64, "binIndexOutput"); 1805var mulNodeOutput = ctx.AddIntermediateVariable(null, "MulNodeOutput", true); 1810var linearOutput = ctx.AddIntermediateVariable(null, "linearOutput", true);
Prediction\CalibratorCatalog.cs (1)
275probabilityName = ctx.AddIntermediateVariable(NumberDataViewType.Single, probabilityName);
Scorers\BinaryClassifierScorer.cs (2)
203var binarizerOutput = ctx.AddIntermediateVariable(NumberDataViewType.Single, "BinarizerOutput", false); 211var addOutput = ctx.AddIntermediateVariable(NumberDataViewType.Single, "Add", false);
Scorers\GenericScorer.cs (1)
238colName = ctx.AddIntermediateVariable(_bindings.GetColumnType(colIndex), colName);
Scorers\PredictedLabelScorerBase.cs (1)
379colName = ctx.AddIntermediateVariable(Bindings.GetColumnType(colIndex), colName, false);
Transforms\ColumnConcatenatingTransformer.cs (2)
939var vectorizerOutputName = ctx.AddIntermediateVariable(vectorizerOutputType, "VectorFeaturizerOutput"); 946var dstVariableName = ctx.AddIntermediateVariable(dstVectorType, outName);
Transforms\ColumnCopying.cs (1)
252var dstVariableName = ctx.AddIntermediateVariable(_schema[colIndex].Type, column.outputColumnName);
Transforms\ColumnSelecting.cs (1)
747var dstVariable = ctx.AddIntermediateVariable(dstCol.Type, dstCol.Name);
Transforms\Hashing.cs (11)
1372string murmurOutput = ctx.AddIntermediateVariable(_dstTypes[iinfo], "MurmurOutput"); 1378castOutput = ctx.AddIntermediateVariable(NumberDataViewType.Int64, "CastOutput", true); 1383var isGreaterThanZeroOutputBool = ctx.AddIntermediateVariable(BooleanDataViewType.Instance, "isGreaterThanZeroOutputBool"); 1387isGreaterThanZeroOutput = ctx.AddIntermediateVariable(NumberDataViewType.Int64, "isGreaterThanZeroOutput"); 1398castOutput = ctx.AddIntermediateVariable(NumberDataViewType.UInt32, "CastOutput", true); 1420string bitShiftOutput = ctx.AddIntermediateVariable(_dstTypes[iinfo], "BitShiftOutput"); 1426string bitShiftOutput2 = ctx.AddIntermediateVariable(_dstTypes[iinfo], "BitShiftOutput2"); 1432castOutput = ctx.AddIntermediateVariable(vectorShape, "CastOutput2"); 1438string addOutput = ctx.AddIntermediateVariable(vectorShape, "AddOutput"); 1442string mulOutput = ctx.AddIntermediateVariable(vectorShape, "MulOutput"); 1469if (!SaveAsOnnxCore(ctx, iinfo, ctx.GetVariableName(inputColumnName), ctx.AddIntermediateVariable(_dstTypes[iinfo], info.outputColumnName)))
Transforms\KeyToValue.cs (4)
512var castNodeOutput = ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Int64, srcShape), "CastNodeOutput"); 520labelEncoderOutput = ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Single, srcShape), "CastNodeOutput"); 524labelEncoderOutput = ctx.AddIntermediateVariable(new VectorDataViewType(TextDataViewType.Instance, srcShape), "CastNodeOutput"); 591var dstVariableName = ctx.AddIntermediateVariable(_types[iinfo], info.outputColumnName);
Transforms\KeyToVector.cs (3)
626var dstVariableName = ctx.AddIntermediateVariable(_types[iinfo], info.Name); 712var castOutput = ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Int64, dim), opType); 722ctx.AddIntermediateVariable(typeShape, "encoded") : dstVariableName;
Transforms\Normalizer.cs (1)
777ctx.AddIntermediateVariable(info.InputType, info.Name)))
Transforms\SlotsDroppingTransformer.cs (1)
890string dstVariableName = ctx.AddIntermediateVariable(_dstTypes[iinfo], _parent.ColumnPairs[iinfo].outputColumnName);
Transforms\TransformBase.cs (1)
619ctx.AddIntermediateVariable(OutputSchema[_bindings.MapIinfoToCol(iinfo)].Type, info.Name)))
Transforms\TypeConverting.cs (1)
491ctx.AddIntermediateVariable(_types[iinfo], _parent._columns[iinfo].Name)))
Transforms\ValueMapping.cs (5)
1076string dstVariableName = ctx.AddIntermediateVariable(colType, outputColumnName); 1088var castOutput = ctx.AddIntermediateVariable(new VectorDataViewType(itemType, (int)srcShape[1]), "castOutput"); 1114(typeValue == NumberDataViewType.Double || typeValue == BooleanDataViewType.Instance) ? ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Single, (int)srcShape[1]), "LabelEncoderOutput") : 1115ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Int64, (int)srcShape[1]), "LabelEncoderOutput"); 1200var castOutput = ctx.AddIntermediateVariable(new VectorDataViewType(TextDataViewType.Instance, (int)srcShape[1]), "castOutput");
Transforms\ValueToKeyMappingTransformer.cs (4)
791var castOutput = ctx.AddIntermediateVariable(new VectorDataViewType(TextDataViewType.Instance, (int)srcShape[1]), "castOutput"); 804var castOutput = ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Single, (int)srcShape[1]), "castOutput"); 822var labelEncoderOutput = ctx.AddIntermediateVariable(new VectorDataViewType(NumberDataViewType.Int64, _types[iinfo].GetValueCount()), "LabelEncoderOutput"); 917ctx.AddIntermediateVariable(_types[iinfo], info.Name)))