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)
45model = _mlContext.Model.Load(stream, out var modelInputSchema);
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
6589loadedModel = 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 216return 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)
110serializedModel = mlContext.Model.Load(file, out var serializedSchema); 166loadedTransformerModel = mlContext.Model.Load(fs, out var loadedSchema); 176var t1 = mlContext.Model.Load(fs, out var s); 187var t = mlContext.Model.Load(fs, out var s); 289loadedModelWithoutLoader = mlContext.Model.Load(fs, out loadedSchema); 341loadedModel = mlContext.Model.Load(fs, out loadedSchema); 481loadedWithSchema = mlContext.Model.Load(fs, out loadedSchema);
Microsoft.ML.OnnxTransformerTest (1)
OnnxTransformTests.cs (1)
1088loadedModel = ML.Model.Load(fs, out var schema);
Microsoft.ML.Samples (13)
Dynamic\ModelOperations\SaveLoadModel.cs (1)
36model = mlContext.Model.Load(file, out DataViewSchema schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
98loadedModel = mlContext.Model.Load(file, out schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
133loadedModel = mlContext.Model.Load(file, out schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
123loadedModel = mlContext.Model.Load(file, out schema);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
115loadedModel = mlContext.Model.Load(file, out schema);
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (1)
96model = ml.Model.Load(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (1)
105model = ml.Model.Load(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (1)
109model = ml.Model.Load(stream, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (1)
103model = ml.Model.Load(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (1)
88model = ml.Model.Load(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (1)
99model = ml.Model.Load(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
79modelCopy = ml.Model.Load(file, out DataViewSchema schema);
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (1)
84modelCopy = ml.Model.Load(file, out DataViewSchema schema);
Microsoft.ML.Samples.GPU (4)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
98loadedModel = mlContext.Model.Load(file, out schema);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
133loadedModel = mlContext.Model.Load(file, out schema);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
123loadedModel = mlContext.Model.Load(file, out schema);
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
115loadedModel = mlContext.Model.Load(file, out schema);
Microsoft.ML.TensorFlow.Tests (5)
TensorflowTests.cs (5)
1430loadedModel = _mlContext.Model.Load(file, out schema); 1533loadedModel = _mlContext.Model.Load(file, out schema); 1692loadedModel = _mlContext.Model.Load(file, out schema); 1823loadedModel = _mlContext.Model.Load(file, out schema); 1894loadedModel = _mlContext.Model.Load(file, out schema);
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipeBase.cs (1)
88loadedTransformer = ML.Model.Load(fs, out loadedInputSchema);
Microsoft.ML.Tests (12)
ImagesTests.cs (1)
89model2 = ML.Model.Load(fs, out var schema);
TrainerEstimators\CalibratorEstimators.cs (1)
259oldPlattCalibratorTransformer = ML.Model.Load(fs, out var schema);
TrainerEstimators\LbfgsTests.cs (2)
126transformerChain = ML.Model.Load(fs, out var schema); 221transformerChain = ML.Model.Load(fs, out var schema);
TrainerEstimators\MatrixFactorizationTests.cs (1)
543model = ML.Model.Load(fs, out var schema);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (2)
625loadedModel = ML.Model.Load(fs, out var schema); 682loadedModel = ML.Model.Load(fs, out var schema);
Transformers\ConvertTests.cs (1)
396modelOld = ML.Model.Load(fs, out var schema);
Transformers\CopyColumnEstimatorTests.cs (1)
105var loadedTransformer = env.Model.Load(ms, out var schema);
Transformers\SelectColumnsTests.cs (2)
185var loadedTransformer = ML.Model.Load(ms, out var schema); 205var loadedTransformer = ML.Model.Load(ms, out var schema);
Transformers\ValueMappingTests.cs (1)
700var loadedTransformer = ML.Model.Load(ms, out var schema);
Microsoft.ML.TimeSeries.Tests (4)
TimeSeriesDirectApi.cs (4)
252model2 = ml.Model.Load(file, out var schema); 272model3 = ml.Model.Load(file, out var schema); 340model2 = ml.Model.Load(file, out var schema); 495modelCopy = ml.Model.Load(file, out DataViewSchema schema);