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