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);