1 write to OptimizationOperation
Microsoft.ML.Vision (1)
VisionCatalog.cs (1)
73
OptimizationOperation
= optimizationOperation,
8 references to OptimizationOperation
Microsoft.ML.Vision (8)
DnnRetrainTransform.cs (8)
190
Host.CheckNonWhiteSpace(options.
OptimizationOperation
, nameof(options.
OptimizationOperation
));
191
if (_session.graph.OperationByName(options.
OptimizationOperation
) == null)
192
throw Host.ExceptParam(nameof(options.
OptimizationOperation
), $"Optimization operation '{options.
OptimizationOperation
}' does not exist in the model");
315
if (options.
OptimizationOperation
!= null)
316
ops = new[] { c_api.TF_GraphOperationByName(Graph, options.
OptimizationOperation
) };
328
outputs, new[] { options.
OptimizationOperation
}).AddInput(new Tensor(options.LearningRate), 0);