5 references to GetSession
Microsoft.ML.TensorFlow (3)
TensorflowTransform.cs (1)
180return new TensorFlowTransformer(env, GetSession(env, tempDirPath), outputs, inputs, tempDirPath, true, addBatchDimensionInput, treatOutputAsBatched: treatOutputAsBatched);
TensorflowUtils.cs (2)
145var session = GetSession(env, modelPath); 397new TensorFlowSessionWrapper(GetSession(env, modelPath, metaGraph), modelPath);
Microsoft.ML.Vision (2)
DnnRetrainTransform.cs (1)
144return new DnnRetrainTransformer(env, GetSession(env, tempDirPath), outputs, inputs, tempDirPath, true,
ImageClassificationTrainer.cs (1)
1316return new TensorFlowSessionWrapper(GetSession(env, modelFilePath, true), modelFilePath);