56 references to Cast
Microsoft.ML.Transforms (56)
Expression\LambdaBinder.cs (56)
1780(a,b) => Cast<BL>(a) == Cast<BL>(b), 1781(a,b) => Cast<I4>(a) == Cast<I4>(b), 1782(a,b) => Cast<I8>(a) == Cast<I8>(b), 1783(a,b) => { var x = Cast<R4>(a); var y = Cast<R4>(b); if (x == y) return true; if (!R4.IsNaN(x) && !R4.IsNaN(y)) return false; return null; }, 1784(a,b) => { var x = Cast<R8>(a); var y = Cast<R8>(b); if (x == y) return true; if (!R8.IsNaN(x) && !R8.IsNaN(y)) return false; return null; }, 1785(a,b) => Cast<TX>(a).Span.SequenceEqual(Cast<TX>(b).Span), 1794(a,b) => Cast<BL>(a) != Cast<BL>(b), 1795(a,b) => Cast<I4>(a) != Cast<I4>(b), 1796(a,b) => Cast<I8>(a) != Cast<I8>(b), 1797(a,b) => { var x = Cast<R4>(a); var y = Cast<R4>(b); if (x == y) return false; if (!R4.IsNaN(x) && !R4.IsNaN(y)) return true; return null; }, 1798(a,b) => { var x = Cast<R8>(a); var y = Cast<R8>(b); if (x == y) return false; if (!R8.IsNaN(x) && !R8.IsNaN(y)) return true; return null; }, 1799(a,b) => !Cast<TX>(a).Span.SequenceEqual(Cast<TX>(b).Span), 1809(a,b) => Cast<I4>(a) < Cast<I4>(b), 1810(a,b) => Cast<I8>(a) < Cast<I8>(b), 1811(a,b) => { var x = Cast<R4>(a); var y = Cast<R4>(b); if (x < y) return true; if (x >= y) return false; return null; }, 1812(a,b) => { var x = Cast<R8>(a); var y = Cast<R8>(b); if (x < y) return true; if (x >= y) return false; return null; }, 1823(a,b) => Cast<I4>(a) <= Cast<I4>(b), 1824(a,b) => Cast<I8>(a) <= Cast<I8>(b), 1825(a,b) => { var x = Cast<R4>(a); var y = Cast<R4>(b); if (x <= y) return true; if (x > y) return false; return null; }, 1826(a,b) => { var x = Cast<R8>(a); var y = Cast<R8>(b); if (x <= y) return true; if (x > y) return false; return null; }, 1837(a,b) => Cast<I4>(a) > Cast<I4>(b), 1838(a,b) => Cast<I8>(a) > Cast<I8>(b), 1839(a,b) => { var x = Cast<R4>(a); var y = Cast<R4>(b); if (x > y) return true; if (x <= y) return false; return null; }, 1840(a,b) => { var x = Cast<R8>(a); var y = Cast<R8>(b); if (x > y) return true; if (x <= y) return false; return null; }, 1851(a,b) => Cast<I4>(a) >= Cast<I4>(b), 1852(a,b) => Cast<I8>(a) >= Cast<I8>(b), 1853(a,b) => { var x = Cast<R4>(a); var y = Cast<R4>(b); if (x >= y) return true; if (x < y) return false; return null; }, 1854(a,b) => { var x = Cast<R8>(a); var y = Cast<R8>(b); if (x >= y) return true; if (x < y) return false; return null; },