52 references to Save
Microsoft.ML.AutoML.Samples (2)
AutoFit\RankingExperiment.cs (1)
53
mlContext.Model.
Save
(bestRun.Model, trainDataView.Schema, ModelPath);
AutoFit\RecommendationExperiment.cs (1)
57
mlContext.Model.
Save
(bestRun.Model, trainDataView.Schema, ModelPath);
Microsoft.ML.Core.Tests (2)
UnitTests\TestCustomTypeRegister.cs (1)
193
ML.Model.
Save
(model, tribeDataView.Schema, "customTransform.zip");
UnitTests\TestEntryPoints.cs (1)
1379
mlContext.Model.
Save
(model, data.Schema, modelPath);
Microsoft.ML.IntegrationTests (5)
Explainability.cs (1)
53
mlContext.Model.
Save
(model, data.Schema, modelAndSchemaPath);
ModelFiles.cs (4)
57
mlContext.Model.
Save
(model, data.Schema, modelPath);
104
mlContext.Model.
Save
(model, data.Schema, modelPath);
151
mlContext.Model.
Save
(transformerModel, data.Schema, modelAndSchemaPath);
463
mlContext.Model.
Save
(model, loader.GetOutputSchema(), modelPath);
Microsoft.ML.OnnxTransformerTest (3)
DnnImageFeaturizerTest.cs (1)
237
ML.Model.
Save
(model, data.Schema, modelPath);
OnnxTransformTests.cs (2)
266
ML.Model.
Save
(model, data.Schema, tempPath);
317
ML.Model.
Save
(model, data.Schema, tempPath);
Microsoft.ML.PerformanceTests (1)
TextPredictionEngineCreation.cs (1)
38
_context.Model.
Save
(model, data.Schema, modelPath);
Microsoft.ML.Samples (11)
Dynamic\ModelOperations\SaveLoadModel.cs (1)
32
mlContext.Model.
Save
(model, dataView.Schema, "model.zip");
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
32
mlContext.Model.
Save
(model, dataView.Schema, "model.zip");
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
33
mlContext.Model.
Save
(model0, data.Schema, modelPath);
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
91
mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
126
mlContext.Model.
Save
(trainedModel, testDataset.Schema,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
116
mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
108
mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
41
mlContext.Model.
Save
(model0, data.Schema, modelPath);
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
40
mlContext.Model.
Save
(model0, data.Schema, modelPath);
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
39
mlContext.Model.
Save
(model0, data.Schema, modelPath);
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (1)
54
mlContext.Model.
Save
(transformer, data.Schema, "customTransform.zip");
Microsoft.ML.Samples.GPU (4)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (1)
91
mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
126
mlContext.Model.
Save
(trainedModel, testDataset.Schema,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
116
mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
108
mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
Microsoft.ML.TensorFlow.Tests (5)
TensorflowTests.cs (5)
1424
_mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
1527
_mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
1686
_mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
1817
_mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
1888
_mlContext.Model.
Save
(trainedModel, shuffledFullImagesDataset.Schema,
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipeBase.cs (1)
83
ML.Model.
Save
(transformer, validFitInput.Schema, modelPath);
Microsoft.ML.Tests (18)
CalibratedModelParametersTests.cs (3)
31
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
53
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
76
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
PermutationFeatureImportanceTests.cs (10)
46
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
114
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
188
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
276
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
351
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
425
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
533
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
606
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
684
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
753
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
198
mlContext.Model.
Save
(model, trainData.Schema, modelPath);
752
mlContext.Model.
Save
(model, cachedTrainData.Schema, modelPath);
TrainerEstimators\LbfgsTests.cs (2)
122
ML.Model.
Save
(transformer, dataView.Schema, modelAndSchemaPath);
216
ML.Model.
Save
(transformer, dataView.Schema, modelAndSchemaPath);
Transformers\NormalizerTests.cs (1)
1059
ML.Model.
Save
(model, data.Schema, modelAndSchemaPath);