2 writes to _labelTensor
Microsoft.ML.Vision (2)
ImageClassificationTrainer.cs (2)
1264
_labelTensor
= tf.placeholder(tf.int64, new Shape(batch_size), name: labelColumn);
1327
(_trainStep, _crossEntropy,
_labelTensor
, _softMaxTensor) =
11 references to _labelTensor
Microsoft.ML.Vision (11)
ImageClassificationTrainer.cs (11)
651
(_evaluationStep, _) = AddEvaluationStep(_softMaxTensor,
_labelTensor
);
756
if (_session.graph.OperationByName(
_labelTensor
.name.Split(':')[0]) == null)
758
throw Host.ExceptParam(nameof(
_labelTensor
.name), $"'{
_labelTensor
.name}' does not" +
954
runnerInputTensorNames.Add(
_labelTensor
.name);
966
validationEvalRunner = new Runner(_session, new[] { _bottleneckInput.name,
_labelTensor
.name },
986
var labelTensorShape =
_labelTensor
.shape.dims.Select(x => (long)x).ToArray();
1184
return (evalSess,
_labelTensor
, evaluationStep, prediction);
1301
return (null, null,
_labelTensor
, _softMaxTensor);
1307
labels:
_labelTensor
, logits: logits);
1320
return (_trainStep, crossEntropyMean,
_labelTensor
, _softMaxTensor);