2 writes to _session
Microsoft.ML.Vision (2)
ImageClassificationTrainer.cs (2)
1395_session = session; 1429_session = LoadTFSession(env, modelBytes);
9 references to _session
Microsoft.ML.Vision (9)
ImageClassificationTrainer.cs (9)
1461using (var buffer = _session.graph.ToGraphDef(status)) 1478_runner = new Runner(model._session, new[] { model._graphInputTensor }, new[] { model._graphOutputTensor }); 1479_imageProcessor = new ImageClassificationTrainer.ImageProcessor(model._session, 1500_session.graph.as_default(); 1517if (_session?.graph != IntPtr.Zero) 1519_session.graph.Dispose(); 1522if (_session != null && _session != IntPtr.Zero) 1524_session.Dispose();