11 references to AddInput
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
760
runner.
AddInput
(srcTensorGetters[i].GetTensor(), i);
Microsoft.ML.Vision (10)
DnnRetrainTransform.cs (4)
327
outputs, new[] { options.OptimizationOperation }).
AddInput
(new Tensor(options.LearningRate), 0);
381
runner.
AddInput
(srcTensorGetters[i].GetBufferedBatchTensor(), i + 1);
412
null, new[] { options.SaveOperation }).
AddInput
(new Tensor(path), 0);
933
runner.
AddInput
(srcTensorGetters[i].GetTensor(), 0);
ImageClassificationTrainer.cs (6)
785
return _imagePreprocessingRunner.
AddInput
(imageTensor, 0).Run()[0];
837
runner.
AddInput
(imageTensor, 0);
1106
runner.
AddInput
(new Tensor(metrics.Train.LearningRate), 2);
1109
var outputTensors = runner.
AddInput
(new Tensor(featureBufferPtr, featureTensorShape, TF_DataType.TF_FLOAT), 0)
1110
.
AddInput
(new Tensor(labelBufferPtr, labelTensorShape, TF_DataType.TF_INT64), 1)
1465
var outputTensor = _runner.
AddInput
(processedTensor, 0).Run();