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)); 52Pfa = 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"); 125throw _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));