1 write to _session
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
533_session = session;
22 references to _session
Microsoft.ML.Vision (22)
DnnRetrainTransform.cs (22)
58private Graph Graph => _session.graph; 191if (_session.graph.OperationByName(options.OptimizationOperation) == null) 195if (_session.graph.OperationByName(options.TensorFlowLabel) == null) 199if (_session.graph.OperationByName(options.SaveLocationOperation) == null) 203if (_session.graph.OperationByName(options.SaveOperation) == null) 209if (_session.graph.OperationByName(options.LossOperation) == null) 216if (_session.graph.OperationByName(options.MetricOperation) == null) 223if (_session.graph.OperationByName(options.LearningRateOperation) == null) 236(Operation inputTensor, int index) = GetOperationFromName(tfNodeName, _session); 300(labelOp, labelOpIdx) = GetOperationFromName(options.TensorFlowLabel, _session); 310var lr = GetOperationFromName(options.LearningRateOperation, _session); 327Runner runner = new Runner(_session, new[] { options.LearningRateOperation }.Concat(inputsForTraining).ToArray(), 412var runner = new Runner(_session, new[] { options.SaveLocationOperation }, 547(_tfOutputTypes, _outputTypes, _tfOutputOperations) = GetOutputInfo(Host, _session, _outputs); 549(_tfInputTypes, _tfInputShapes, _tfInputOperations) = GetInputInfo(Host, _session, _inputs.Select(x => _idvToTfMapping[x]).ToArray(), batchSize); 740if (_session != null && _session != IntPtr.Zero) 742if (_session.graph != null) 743_session.graph.Dispose(); 744_session.close(); 926_parent._session.graph.as_default(); 928Runner runner = new Runner(_parent._session,