1 write to Pfa
Microsoft.ML.Data (1)
Model\Pfa\BoundPfaContext.cs (1)
52Pfa = new PfaContext(_host);
25 references to Pfa
Microsoft.ML.Data (25)
Model\Pfa\BoundPfaContext.cs (17)
92Pfa.InputType = field["type"]; 96Pfa.InputType = recordType; 151Pfa.OutputType = lastType; 152Pfa.Final = lastToken; 153return Pfa.Finalize(); 159Pfa.OutputType = recordType; 160Pfa.Final = expr; 162return Pfa.Finalize(); 178return ModelUtils.CreateNameCore("temp", Pfa.ContainsVar); 181return ModelUtils.CreateNameCore(name, Pfa.ContainsVar); 186return ModelUtils.CreateNameCore(name, n => n != exclude && Pfa.ContainsVar(n)); 191return ModelUtils.CreateNameCore(name, Pfa.ContainsCell); 217Pfa.AddVariables(vars); 230if (!Pfa.ContainsFunc(baseName)) 233while (Pfa.ContainsFunc(baseName + i)) 245_host.Assert(!Pfa.ContainsCell(cellName)); 246Pfa.AddCell(cellName, type, init);
Transforms\KeyToValue.cs (1)
492ctx.Pfa.AddFunc(funcName, new JArray(PfaUtils.Param("key", PfaUtils.Type.Int)),
Transforms\KeyToVector.cs (2)
688if (!ctx.Pfa.ContainsFunc(funcName)) 694ctx.Pfa.AddFunc(funcName,
Transforms\NormalizeColumnDbl.cs (2)
767srcToken = PfaUtils.Call("a.zipmap", srcToken, offsetCell, PfaUtils.FuncRef(ctx.Pfa.EnsureSub(itemType))); 769return PfaUtils.Call("a.zipmap", srcToken, scaleCell, PfaUtils.FuncRef(ctx.Pfa.EnsureMul(itemType)));
Transforms\NormalizeColumnSng.cs (2)
924srcToken = PfaUtils.Call("a.zipmap", srcToken, offsetCell, PfaUtils.FuncRef(ctx.Pfa.EnsureSub(itemType))); 926return PfaUtils.Call("a.zipmap", srcToken, scaleCell, PfaUtils.FuncRef(ctx.Pfa.EnsureMul(itemType)));
Transforms\ValueToKeyMappingTransformer.cs (1)
978ctx.Pfa.AddFunc(funcName, new JArray(PfaUtils.Param("term", PfaUtils.Type.String)),