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