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