1 write to _host
Microsoft.ML.Transforms (1)
Expression\LambdaBinder.cs (1)
36_host = env.Register("LambdaBinder");
78 references to _host
Microsoft.ML.Transforms (78)
Expression\LambdaBinder.cs (78)
40.Select(info => info.CreateInstance<IFunctionProvider>(_host)) 110_host.AssertValue(node); 111_host.Assert(node.IsBool); 112_host.AssertValue(node.ExprValue); 117_host.AssertValue(node); 118_host.Assert(node.IsTX); 119_host.AssertValue(node.ExprValue); 124_host.AssertValue(node); 125_host.Assert(node.IsNumber || node.IsError); 126_host.Assert((node.ExprValue == null) == node.IsError); 138_host.AssertValue(node); 143_host.Assert(HasErrors); 179_host.AssertValue(node); 180_host.Assert(node.ExprType != 0); 185_host.AssertValue(node); 186_host.Assert(_lambda == null, "Can't support nested lambdas"); 192_host.Assert(_lambda == node); 200_host.Assert(false); 226_host.Assert(HasErrors); 232_host.Assert(HasErrors); 240_host.Assert(HasErrors); 253_host.Assert(HasErrors); 258_host.AssertValue(node); 292_host.Assert(false); 301_host.AssertValue(arg); 310_host.AssertValue(node); 342_host.Assert(HasErrors); 347_host.Assert(false); 356_host.AssertValue(node); 357_host.Assert(node.Op == BinaryOp.And || node.Op == BinaryOp.Or || node.Op == BinaryOp.Coalesce); 393_host.Assert(node.IsBool); 404_host.AssertValue(a); 405_host.AssertValue(b); 418_host.Assert(MapKindToIndex(kind) >= 0); 424_host.AssertValue(node); 741_host.Assert(false); 763_host.Assert(false); 787_host.Assert(false); 811_host.Assert(false); 819_host.AssertValue(node); 968_host.AssertValue(node); 994_host.Assert(HasErrors); 1013_host.Assert(false); 1039_host.Assert(false); 1043_host.Assert((cmpLax == null) == (cmpStrict == null)); 1068_host.Assert(arg.ExprType == kind); 1070_host.Assert(valuePrev != null); 1074_host.Assert(tid == tidLax || tid == tidStrict); 1080_host.Assert(arg.ExprType == kind); 1083_host.Assert(value != null); 1101_host.Assert(arg.ExprType == kind); 1104_host.Assert(value != null); 1108_host.Assert(arg2.ExprType == kind); 1111_host.Assert(value2 != null); 1297_host.AssertValue(node); 1391_host.Assert(candidates.Count > 0); 1392_host.Assert(count == 0 || count == candidates.Count); 1403_host.Assert(0 <= icandMinBad && icandMinBad < candidates.Count); 1422_host.Assert(!best.IsVariable); 1423_host.Assert(best.Arity == 1); 1443_host.Assert(tail >= 0); 1445_host.Assert(type.IsArray); 1455_host.Assert(res != null); 1456_host.Assert(res.GetType() == best.Method.ReturnType); 1538_host.Assert(false, "Unexpected type in Convert"); 1552_host.Assert(Utils.Size(candidates) >= 2); 1587_host.Assert((dup1 != null) == (dup2 != null)); 1603_host.AssertValue(node); 1608_host.AssertValue(node); 1621_host.Assert(_rgwith.Count == iwith + 1); 1622_host.Assert(_rgwith[iwith] == node); 1624_host.Assert(_rgwith.Count == iwith); 1633_host.Assert(false); 1638_host.AssertValue(node); 1646_host.AssertValue(expr); 1647_host.Assert(expr.ExprType != 0); 1653_host.Assert(HasErrors); 1666_host.Assert(HasErrors);