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)
205
if (options.
LossOperation
!= null)
207
Host.CheckNonWhiteSpace(options.
LossOperation
, nameof(options.
LossOperation
));
208
if (_session.graph.OperationByName(options.
LossOperation
) == null)
209
throw Host.ExceptParam(nameof(options.
LossOperation
), $"'{options.
LossOperation
}' does not exist in the model");
319
if (options.
LossOperation
!= null && options.MetricOperation != null)
320
outputs = new[] { options.
LossOperation
, options.MetricOperation };
321
else if (options.
LossOperation
!= null)
322
outputs = new[] { options.
LossOperation
};