35 instantiations of SimpleFileHandle
Microsoft.ML.Core (2)
Data\IHostEnvironment.cs (2)
40return new SimpleFileHandle(env, path, needsWrite: false, autoDelete: false); 50return new SimpleFileHandle(env, path, needsWrite: true, autoDelete: false);
Microsoft.ML.Core.Tests (28)
UnitTests\TestEntryPoints.cs (28)
46var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 66var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 558var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 1769var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 1986var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 2129var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3510var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3605var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3710var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3871var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4062var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4152var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4231var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4305using (var inputFile = new SimpleFileHandle(Env, dataPath, false, false)) 4443var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4521var inputFile = new SimpleFileHandle(Env, dataFile, false, false); 4841var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4993var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5167var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5351var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5579var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5759var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6058var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6278var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6450var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6567var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6658var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6874var inputFile = new SimpleFileHandle(Env, dataPath, false, false);
Microsoft.ML.EntryPoints (1)
JsonUtils\ExecuteGraphCommand.cs (1)
109var fh = new SimpleFileHandle(_host, path, false, false);
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
1080using (var file = new SimpleFileHandle(Env, tempPath, true, true))
Microsoft.ML.Tests (3)
ImagesTests.cs (1)
83using (var file = new SimpleFileHandle(env, tempPath, true, true))
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (2)
619using (var file = new SimpleFileHandle(Env, tempPath, true, true)) 676using (var file = new SimpleFileHandle(Env, tempPath, true, true))
38 references to SimpleFileHandle
Microsoft.ML.Core.Tests (28)
UnitTests\TestEntryPoints.cs (28)
46var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 66var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 558var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 1769var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 1986var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 2129var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3510var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3605var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3710var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 3871var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4062var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4152var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4231var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4305using (var inputFile = new SimpleFileHandle(Env, dataPath, false, false)) 4443var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4521var inputFile = new SimpleFileHandle(Env, dataFile, false, false); 4841var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 4993var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5167var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5351var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5579var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 5759var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6058var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6278var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6450var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6567var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6658var inputFile = new SimpleFileHandle(Env, dataPath, false, false); 6874var inputFile = new SimpleFileHandle(Env, dataPath, false, false);
Microsoft.ML.Data (1)
Commands\TrainTestCommand.cs (1)
193using (var file = new SimpleFileHandle(ch, hasOutfile ? ImplOptions.OutputModelFile : tempFilePath, true, !hasOutfile))
Microsoft.ML.EntryPoints (1)
JsonUtils\ExecuteGraphCommand.cs (1)
109var fh = new SimpleFileHandle(_host, path, false, false);
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
1080using (var file = new SimpleFileHandle(Env, tempPath, true, true))
Microsoft.ML.Tests (7)
ImagesTests.cs (1)
83using (var file = new SimpleFileHandle(env, tempPath, true, true))
TextLoaderTests.cs (4)
210var inputFile = new SimpleFileHandle(_env, "fakeFile.txt", false, false); 284var inputFile = new SimpleFileHandle(_env, dataPath, false, false); 430var inputFile = new SimpleFileHandle(_env, dataPath, false, false); 544var inputFile = new SimpleFileHandle(_env, dataPath, false, false);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (2)
619using (var file = new SimpleFileHandle(Env, tempPath, true, true)) 676using (var file = new SimpleFileHandle(Env, tempPath, true, true))