3 writes to _session
Microsoft.ML.Vision (3)
ImageClassificationTrainer.cs (3)
614
_session
= LoadTensorFlowSessionFromMetaGraph(Host, _options.Arch).Session;
724
_session
= null;
1215
_session
= LoadTFSessionByModelFilePath(Host, frozenModelPath, false);
14 references to _session
Microsoft.ML.Vision (14)
ImageClassificationTrainer.cs (14)
492
private Graph Graph =>
_session
.graph;
615
_session
.graph.as_default();
625
new Runner(
_session
, operations: new IntPtr[] { tf.global_variables_initializer() }).Run();
667
var imageProcessor = new ImageProcessor(
_session
, _jpegDataTensorName, _resizedImageTensorName);
723
var session =
_session
;
733
if (
_session
.graph.OperationByName(_labelTensor.name.Split(':')[0]) == null)
830
Runner runner = new Runner(
_session
, new[] { inputTensorName }, new[] { outputTensorName });
959
validationEvalRunner = new Runner(
_session
, new[] { _bottleneckInput.name, _labelTensor.name },
963
runner = new Runner(
_session
, runnerInputTensorNames.ToArray(),
971
_session
.graph);
974
trainSaver.save(
_session
, _checkpointPath);
1068
trainSaver.save(
_session
, _checkpointPath);
1213
_session
.graph.Dispose();
1214
_session
.Dispose();