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