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)
58
private Graph Graph =>
_session
.graph;
191
if (
_session
.graph.OperationByName(options.OptimizationOperation) == null)
195
if (
_session
.graph.OperationByName(options.TensorFlowLabel) == null)
199
if (
_session
.graph.OperationByName(options.SaveLocationOperation) == null)
203
if (
_session
.graph.OperationByName(options.SaveOperation) == null)
209
if (
_session
.graph.OperationByName(options.LossOperation) == null)
216
if (
_session
.graph.OperationByName(options.MetricOperation) == null)
223
if (
_session
.graph.OperationByName(options.LearningRateOperation) == null)
236
(Operation inputTensor, int index) = GetOperationFromName(tfNodeName,
_session
);
300
(labelOp, labelOpIdx) = GetOperationFromName(options.TensorFlowLabel,
_session
);
310
var lr = GetOperationFromName(options.LearningRateOperation,
_session
);
327
Runner runner = new Runner(
_session
, new[] { options.LearningRateOperation }.Concat(inputsForTraining).ToArray(),
412
var 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);
740
if (
_session
!= null &&
_session
!= IntPtr.Zero)
742
if (
_session
.graph != null)
743
_session
.graph.Dispose();
744
_session
.close();
926
_parent.
_session
.graph.as_default();
928
Runner runner = new Runner(_parent.
_session
,