38 references to Load
Microsoft.ML.Core.Tests (2)
UnitTests\TestCustomTypeRegister.cs (2)
194modelForPrediction = ML.Model.Load("customTransform.zip", out var tribeDataViewSchema); 226var trainedModel = ML.Model.Load(modelPath, out var dataViewSchema);
Microsoft.ML.IntegrationTests (2)
Explainability.cs (1)
54loadedModel = mlContext.Model.Load(modelAndSchemaPath, out var schema);
ModelFiles.cs (1)
241trainedModel = mlContext.Model.Load(TestCommon.GetDataPath(DataDir, "backcompat", "modelwithoptionalcolumntransform.zip"), out dataViewSchema);
Microsoft.ML.OnnxTransformerTest (3)
DnnImageFeaturizerTest.cs (1)
238var loadedModel = ML.Model.Load(modelPath, out var inputSchema);
OnnxTransformTests.cs (2)
267var loadedModel = ML.Model.Load(tempPath, out DataViewSchema modelSchema); 318var loadedModel = ML.Model.Load(tempPath, out DataViewSchema modelSchema);
Microsoft.ML.PerformanceTests (3)
HashBench.cs (1)
104var estimator = _env.Model.Load(modelPath, out var schema);
TextPredictionEngineCreation.cs (2)
41_trainedModel = _context.Model.Load(modelPath, out var inputSchema); 43_trainedModelOldFormat = _context.Model.Load(Path.Combine("TestModels", "SentimentModel.zip"), out inputSchema);
Microsoft.ML.Samples (6)
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
35model = mlContext.Model.Load("model.zip", out DataViewSchema schema);
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
36var model = mlContext.Model.Load(modelPath, out var schema);
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
44var model = mlContext.Model.Load(modelPath, out var schema);
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
43var model = mlContext.Model.Load(modelPath, out var schema);
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
42var model = mlContext.Model.Load(modelPath, out var schema);
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
55var loadedTransform = mlContext.Model.Load("customTransform.zip", out
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1191var testTransformer = _mlContext.Model.Load(mlModelLocation, out loadedInputschema);
Microsoft.ML.Tests (20)
CalibratedModelParametersTests.cs (3)
33var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 55var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 78var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema);
PermutationFeatureImportanceTests.cs (10)
48var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 116var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 190var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 278var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 353var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 427var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 535var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 608var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 686var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema); 755var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
203ITransformer loadedModel = mlContext.Model.Load(modelPath, out var schema); 762ITransformer loadedModel = newContext.Model.Load(modelPath, out var schema);
Transformers\HashTests.cs (2)
338var model = ML.Model.Load(modelPath, out var _); 363var model = ML.Model.Load(modelPath, out _);
Transformers\NormalizerTests.cs (2)
1006var normalizer = ML.Model.Load(modelPath, out var schema); 1060var loadedModel = ML.Model.Load(modelAndSchemaPath, out var schema);
Transformers\TextFeaturizerTests.cs (1)
751var model = ML.Model.Load(modelPath, out var inputSchema);
Microsoft.ML.Transforms (1)
Dracula\CountTargetEncodingTransformer.cs (1)
223var transformer = catalog.Load(initialCountsModel, out _);