2 writes to _session
Microsoft.ML.Vision (2)
ImageClassificationTrainer.cs (2)
1372_session = session; 1406_session = LoadTFSession(env, modelBytes);
9 references to _session
Microsoft.ML.Vision (9)
ImageClassificationTrainer.cs (9)
1438using (var buffer = _session.graph.ToGraphDef(status)) 1455_runner = new Runner(model._session, new[] { model._graphInputTensor }, new[] { model._graphOutputTensor }); 1456_imageProcessor = new ImageClassificationTrainer.ImageProcessor(model._session, 1477_session.graph.as_default(); 1494if (_session?.graph != IntPtr.Zero) 1496_session.graph.Dispose(); 1499if (_session != null && _session != IntPtr.Zero) 1501_session.Dispose();