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