3 instantiations of ModelLoadContext
Microsoft.ML.Core (3)
Data\ModelLoading.cs (3)
161using (var ctx = new ModelLoadContext(rep, ent, dir)) 218using (var ctx = new ModelLoadContext(reader)) 317using (var ctx = new ModelLoadContext(Repository, ent, path))
12 references to ModelLoadContext
Microsoft.ML.Core (8)
Data\ModelLoading.cs (5)
18internal delegate void SignatureLoadModel(ModelLoadContext ctx); 161using (var ctx = new ModelLoadContext(rep, ent, dir)) 218using (var ctx = new ModelLoadContext(reader)) 302public bool TryProcessSubModel(string dir, Action<ModelLoadContext> action) 317using (var ctx = new ModelLoadContext(Repository, ent, path))
Data\ModelSaving.cs (3)
38using (var ctx = new ModelSaveContext(rep, path, ModelLoadContext.ModelStreamName)) 49using (var ent = rep.CreateEntry(path, ModelLoadContext.NameBinary)) 84using (var ctx = new ModelSaveContext(Repository, Path.Combine(Directory ?? "", dir), ModelLoadContext.ModelStreamName))
Microsoft.ML.Data (1)
DataLoadSave\Binary\BinaryLoader.cs (1)
819/// Creates a binary loader from a <see cref="ModelLoadContext"/>. Since the loader code
Microsoft.ML.Tests (3)
CalibratedModelParametersTests.cs (3)
241ModelLoadContext.LoadModel<IPredictorProducing<float>, SignatureLoadModel>( 244ModelLoadContext.LoadModel<ICalibrator, SignatureLoadModel>( 249ModelLoadContext.LoadModel<IPredictorProducing<float>, SignatureLoadModel>(Env, out var loaded, reader, "Predictor");