58 references to Load
Microsoft.Extensions.ML (2)
ModelLoaders\FileModelLoader.cs (1)
140
_model = _context.Model.
Load
(fs, out _);
ModelLoaders\UriModelLoader.cs (1)
146
_model = _context.Model.
Load
(stream, out _);
Microsoft.ML.AutoML (1)
Experiment\ModelContainer.cs (1)
45
model = _mlContext.Model.
Load
(stream, out var modelInputSchema);
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
6589
loadedModel = ml.Model.
Load
(stream, out var inputSchema);
Microsoft.ML.Data (7)
Model\ModelOperationsCatalog.cs (7)
79
/// for an empty transformer chain. Upon loading with <see cref="
Load
(Stream, out DataViewSchema)"/> the returned value will
101
/// for an empty transformer chain. Upon loading with <see cref="
Load
(Stream, out DataViewSchema)"/> the returned value will
216
return
Load
(stream, out inputSchema);
256
/// be handled instead using the <see cref="
Load
(Stream, out DataViewSchema)"/> method.</param>
284
/// be handled instead using the <see cref="
Load
(Stream, out DataViewSchema)"/> method.</param>
322
/// It's mainly used in conjunction with <see cref="
Load
(Stream, out DataViewSchema)"/>,
339
/// It's mainly used in conjunction with <see cref="
Load
(Stream, out DataViewSchema)"/>,
Microsoft.ML.IntegrationTests (7)
ModelFiles.cs (7)
110
serializedModel = mlContext.Model.
Load
(file, out var serializedSchema);
166
loadedTransformerModel = mlContext.Model.
Load
(fs, out var loadedSchema);
176
var t1 = mlContext.Model.
Load
(fs, out var s);
187
var t = mlContext.Model.
Load
(fs, out var s);
289
loadedModelWithoutLoader = mlContext.Model.
Load
(fs, out loadedSchema);
341
loadedModel = mlContext.Model.
Load
(fs, out loadedSchema);
481
loadedWithSchema = mlContext.Model.
Load
(fs, out loadedSchema);
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
1088
loadedModel = ML.Model.
Load
(fs, out var schema);
Microsoft.ML.Samples (13)
Dynamic\ModelOperations\SaveLoadModel.cs (1)
36
model = mlContext.Model.
Load
(file, out DataViewSchema schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
98
loadedModel = mlContext.Model.
Load
(file, out schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
133
loadedModel = mlContext.Model.
Load
(file, out schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
123
loadedModel = mlContext.Model.
Load
(file, out schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
115
loadedModel = mlContext.Model.
Load
(file, out schema);
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (1)
96
model = ml.Model.
Load
(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (1)
105
model = ml.Model.
Load
(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (1)
109
model = ml.Model.
Load
(stream, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (1)
103
model = ml.Model.
Load
(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (1)
88
model = ml.Model.
Load
(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (1)
99
model = ml.Model.
Load
(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
79
modelCopy = ml.Model.
Load
(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (1)
84
modelCopy = ml.Model.
Load
(file, out DataViewSchema schema);
Microsoft.ML.Samples.GPU (4)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
98
loadedModel = mlContext.Model.
Load
(file, out schema);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
133
loadedModel = mlContext.Model.
Load
(file, out schema);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
123
loadedModel = mlContext.Model.
Load
(file, out schema);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
115
loadedModel = mlContext.Model.
Load
(file, out schema);
Microsoft.ML.TensorFlow.Tests (5)
TensorflowTests.cs (5)
1430
loadedModel = _mlContext.Model.
Load
(file, out schema);
1533
loadedModel = _mlContext.Model.
Load
(file, out schema);
1692
loadedModel = _mlContext.Model.
Load
(file, out schema);
1823
loadedModel = _mlContext.Model.
Load
(file, out schema);
1894
loadedModel = _mlContext.Model.
Load
(file, out schema);
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipeBase.cs (1)
88
loadedTransformer = ML.Model.
Load
(fs, out loadedInputSchema);
Microsoft.ML.Tests (12)
ImagesTests.cs (1)
89
model2 = ML.Model.
Load
(fs, out var schema);
TrainerEstimators\CalibratorEstimators.cs (1)
259
oldPlattCalibratorTransformer = ML.Model.
Load
(fs, out var schema);
TrainerEstimators\LbfgsTests.cs (2)
126
transformerChain = ML.Model.
Load
(fs, out var schema);
221
transformerChain = ML.Model.
Load
(fs, out var schema);
TrainerEstimators\MatrixFactorizationTests.cs (1)
543
model = ML.Model.
Load
(fs, out var schema);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (2)
625
loadedModel = ML.Model.
Load
(fs, out var schema);
682
loadedModel = ML.Model.
Load
(fs, out var schema);
Transformers\ConvertTests.cs (1)
396
modelOld = ML.Model.
Load
(fs, out var schema);
Transformers\CopyColumnEstimatorTests.cs (1)
105
var loadedTransformer = env.Model.
Load
(ms, out var schema);
Transformers\SelectColumnsTests.cs (2)
185
var loadedTransformer = ML.Model.
Load
(ms, out var schema);
205
var loadedTransformer = ML.Model.
Load
(ms, out var schema);
Transformers\ValueMappingTests.cs (1)
700
var loadedTransformer = ML.Model.
Load
(ms, out var schema);
Microsoft.ML.TimeSeries.Tests (4)
TimeSeriesDirectApi.cs (4)
252
model2 = ml.Model.
Load
(file, out var schema);
272
model3 = ml.Model.
Load
(file, out var schema);
340
model2 = ml.Model.
Load
(file, out var schema);
495
modelCopy = ml.Model.
Load
(file, out DataViewSchema schema);