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