1 instantiation of PfaContext
Microsoft.ML.Data (1)
Model\Pfa\BoundPfaContext.cs (1)
52
Pfa = new
PfaContext
(_host);
15 references to PfaContext
Microsoft.ML.Data (15)
Model\Pfa\BoundPfaContext.cs (4)
16
/// This wraps a <see cref="
PfaContext
"/>, except with auxiliary information
20
/// Beyond what is offered in <see cref="
PfaContext
"/>, <see cref="BoundPfaContext"/>
30
public
PfaContext
Pfa { get; }
100
/// This call will set <see cref="
PfaContext
.OutputType"/> to an appropriate output type based
Model\Pfa\PfaContext.cs (1)
101
_host = env.Register(nameof(
PfaContext
));
Model\Pfa\PfaUtils.cs (8)
272
public static string EnsureCount(this
PfaContext
ctx, JToken itemType)
287
public static string EnsureHasChars(this
PfaContext
ctx)
298
public static string EnsureNewArray(this
PfaContext
ctx)
324
public static string EnsureAdd(this
PfaContext
ctx, JToken itemType)
326
public static string EnsureSub(this
PfaContext
ctx, JToken itemType)
328
public static string EnsureMul(this
PfaContext
ctx, JToken itemType)
330
public static string EnsureDiv(this
PfaContext
ctx, JToken itemType)
333
private static string EnsureOpCore(
PfaContext
ctx, string funcPrefix, string binOp, JToken itemType, JToken returnType = null)
Transforms\KeyToVector.cs (2)
681
PfaContext
.CreateFuncBlock(new JArray() { PfaUtils.Param("k", PfaUtils.Type.Int) },
690
var toFunc =
PfaContext
.CreateFuncBlock(