1 write to _host
Microsoft.ML.Data (1)
Model\Pfa\BoundPfaContext.cs (1)
48
_host
= env.Register(nameof(BoundPfaContext));
26 references to _host
Microsoft.ML.Data (26)
Model\Pfa\BoundPfaContext.cs (26)
49
_host
.CheckValue(inputSchema, nameof(inputSchema));
50
_host
.CheckValue(toDrop, nameof(toDrop));
52
Pfa = new PfaContext(
_host
);
84
_host
.Assert(_nameToVarName.Count == fields.Count);
85
_host
.Assert(_nameToVarName.Count == fieldNames.Count);
87
_host
.Check(fields.Count >= 1, "Schema produced no inputs for the PFA conversion.");
109
_host
.CheckValue(schema, nameof(schema));
110
_host
.CheckValue(toOutput, nameof(toOutput));
123
_host
.CheckParam(name != null, nameof(toOutput), "Null values in array");
125
throw
_host
.ExceptParam(nameof(toOutput), $"Requested column '{name}' not in schema");
148
_host
.Check(fields.Count >= 1, "Pipeline produced no outputs for the PFA conversion");
167
_host
.AssertValue(schema);
168
_host
.Assert(0 <= col && col < schema.Count);
176
_host
.CheckValueOrNull(name);
179
_host
.CheckNonEmpty(name, nameof(name));
207
_host
.CheckValue(vars, nameof(vars));
223
_host
.CheckValueOrNull(name);
224
_host
.CheckValue(value, nameof(value));
240
_host
.CheckValue(name, nameof(name));
241
_host
.CheckValue(type, nameof(type));
242
_host
.CheckValue(init, nameof(init));
245
_host
.Assert(!Pfa.ContainsCell(cellName));
259
_host
.CheckValue(names, nameof(names));
262
_host
.CheckParam(name != null, nameof(names), "A value was null");
274
_host
.CheckValue(name, nameof(name));
288
_host
.CheckValue(name, nameof(name));