1 write to Type
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
211
Type
= attr.InstanceType;
9 references to Type
Microsoft.ML.Core (7)
ComponentModel\ComponentCatalog.cs (7)
256
throw Contracts.Except("Can't instantiate class '{0}'",
Type
.Name);
288
if (!typeof(TRes).IsAssignableFrom(
Type
))
298
if (!typeof(TRes).IsAssignableFrom(
Type
))
541
throw Contracts.Except($"ComponentCatalog cannot map name '{name}' and SignatureType '{sigType}' to {info.
Type
.Name}, already mapped to {infoCur.
Type
.Name}.");
741
.Where(info => info.SignatureTypes.Contains(typeSig) && typeBase.IsAssignableFrom(info.
Type
))
1012
if (!typeof(TRes).IsAssignableFrom(info.
Type
))
Microsoft.ML.Data (1)
Commands\ScoreCommand.cs (1)
317
if (info == null || !typeof(IDataScorerTransform).IsAssignableFrom(info.
Type
))
Microsoft.ML.Maml (1)
HelpCommand.cs (1)
473
new XElement("Type", c.Info.
Type
.ToString()),