1 write to MetricOperation
Microsoft.ML.Vision (1)
VisionCatalog.cs (1)
75MetricOperation = metricOperation,
10 references to MetricOperation
Microsoft.ML.Vision (10)
DnnRetrainTransform.cs (10)
213if (options.MetricOperation != null) 215Host.CheckNonWhiteSpace(options.MetricOperation, nameof(options.MetricOperation)); 216if (_session.graph.OperationByName(options.MetricOperation) == null) 217throw Host.ExceptParam(nameof(options.MetricOperation), $"'{options.MetricOperation}' does not exist in the model"); 320if (options.LossOperation != null && options.MetricOperation != null) 321outputs = new[] { options.LossOperation, options.MetricOperation }; 324else if (options.MetricOperation != null) 325outputs = new[] { options.MetricOperation };