1 write to LossOperation
Microsoft.ML.Vision (1)
VisionCatalog.cs (1)
74
LossOperation
= lossOperation,
10 references to LossOperation
Microsoft.ML.Vision (10)
DnnRetrainTransform.cs (10)
206
if (options.
LossOperation
!= null)
208
Host.CheckNonWhiteSpace(options.
LossOperation
, nameof(options.
LossOperation
));
209
if (_session.graph.OperationByName(options.
LossOperation
) == null)
210
throw Host.ExceptParam(nameof(options.
LossOperation
), $"'{options.
LossOperation
}' does not exist in the model");
320
if (options.
LossOperation
!= null && options.MetricOperation != null)
321
outputs = new[] { options.
LossOperation
, options.MetricOperation };
322
else if (options.
LossOperation
!= null)
323
outputs = new[] { options.
LossOperation
};