7 references to AddFunc
Microsoft.ML.Data (7)
Model\Pfa\PfaUtils.cs (4)
279
ctx.
AddFunc
(name, new JArray(Param("a", Type.Vector(itemType))), Type.Int,
293
ctx.
AddFunc
(name, new JArray(Param("str", Type.String)), Type.Bool,
318
ctx.
AddFunc
(name, new JArray(Param("size", Type.Int)), arrType,
345
ctx.
AddFunc
(name, new JArray(Param("a", itemType), Param("b", itemType)), returnType, Call(binOp, "a", "b"));
Transforms\KeyToValue.cs (1)
492
ctx.Pfa.
AddFunc
(funcName, new JArray(PfaUtils.Param("key", PfaUtils.Type.Int)),
Transforms\KeyToVector.cs (1)
694
ctx.Pfa.
AddFunc
(funcName,
Transforms\ValueToKeyMappingTransformer.cs (1)
978
ctx.Pfa.
AddFunc
(funcName, new JArray(PfaUtils.Param("term", PfaUtils.Type.String)),