1 instantiation of LoadableClassInfo
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
706
var info = new
LoadableClassInfo
(attr, getter, ctor, create, requireEnvironment);
28 references to LoadableClassInfo
Microsoft.ML.Core (24)
ComponentModel\ComponentCatalog.cs (24)
77
_classesByKey = new Dictionary<
LoadableClassInfo
.Key,
LoadableClassInfo
>();
78
_classes = new List<
LoadableClassInfo
>();
444
private readonly Dictionary<
LoadableClassInfo
.Key,
LoadableClassInfo
> _classesByKey;
447
private readonly List<
LoadableClassInfo
> _classes;
524
private void AddClass(
LoadableClassInfo
info, string[] loadNames, bool throwOnError)
536
var key = new
LoadableClassInfo
.Key(nameCi, sigType);
537
if (_classesByKey.TryGetValue(key, out
var
infoCur))
562
private void ScanForEntryPoints(
LoadableClassInfo
info)
706
var
info = new LoadableClassInfo(attr, getter, ctor, create, requireEnvironment);
721
internal
LoadableClassInfo
[] GetAllClasses()
731
internal
LoadableClassInfo
[] GetAllDerivedClasses(Type typeBase, Type typeSig)
769
private
LoadableClassInfo
FindClassCore(
LoadableClassInfo
.Key key)
771
LoadableClassInfo
info;
779
internal
LoadableClassInfo
[] FindLoadableClasses(string name)
790
internal
LoadableClassInfo
[] FindLoadableClasses<TSig>()
798
internal
LoadableClassInfo
[] FindLoadableClasses<TArgs, TSig>()
808
internal
LoadableClassInfo
GetLoadableClassInfo<TSig>(string loadName)
814
internal
LoadableClassInfo
GetLoadableClassInfo(string loadName, Type signatureType)
819
return FindClassCore(new
LoadableClassInfo
.Key(loadName, signatureType));
1005
LoadableClassInfo
info = env.ComponentCatalog.FindClassCore(new
LoadableClassInfo
.Key(nameLower, signatureType));
Microsoft.ML.Data (1)
Utilities\ComponentCreation.cs (1)
300
var
lc = classes[0];
Microsoft.ML.ResultProcessor (1)
ResultProcessor.cs (1)
158
var
cls = env.ComponentCatalog.GetLoadableClassInfo<SignatureTrainer>(predictorName);
Microsoft.ML.Sweeper (1)
SweepResultEvaluator.cs (1)
45
foreach (
var
evalInfo in evaluators)
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipeBase.cs (1)
350
var
info = env.ComponentCatalog.GetLoadableClassInfo(commandLineFactory.Name, commandLineFactory.SignatureType);