2 writes to _type
Microsoft.ML.Data (2)
Transforms\RangeFilter.cs (2)
106
_type
= schema[_index].Type;
154
_type
= schema[_index].Type;
24 references to _type
Microsoft.ML.Data (24)
Transforms\RangeFilter.cs (24)
107
if (!IsValidRangeFilterColumnType(ch,
_type
))
109
if (
_type
is KeyDataViewType)
130
_includeMax = options.IncludeMax ?? (options.Max == null || (
_type
is KeyDataViewType && _max >= 1));
155
if (
_type
!= NumberDataViewType.Single &&
_type
!= NumberDataViewType.Double &&
_type
.GetKeyCount() == 0)
156
throw Host.ExceptSchemaMismatch(nameof(schema), "source", column, "Single, Double or Key",
_type
.ToString());
241
if (
_type
== NumberDataViewType.Single)
243
if (
_type
== NumberDataViewType.Double)
245
Host.Assert(
_type
is KeyDataViewType);
335
Contracts.Assert(filter.
_type
is KeyDataViewType);
337
var methodInfo = del.GetMethodInfo().GetGenericMethodDefinition().MakeGenericMethod(filter.
_type
.RawType);
343
Contracts.Assert(filter.
_type
is KeyDataViewType);
357
Ch.Assert(Parent.
_type
== NumberDataViewType.Single);
369
Ch.Assert(Parent.
_type
== NumberDataViewType.Single);
375
Ch.Assert(Parent.
_type
== NumberDataViewType.Single);
390
Ch.Assert(Parent.
_type
== NumberDataViewType.Double);
402
Ch.Assert(Parent.
_type
== NumberDataViewType.Double);
408
Ch.Assert(Parent.
_type
== NumberDataViewType.Double);
425
Ch.Assert(Parent.
_type
.GetKeyCount() > 0);
426
_count = Parent.
_type
.GetKeyCount();
435
_conv = Data.Conversion.Conversions.DefaultInstance.GetStandardConversion<T, ulong>(Parent.
_type
, NumberDataViewType.UInt64, out identity);
440
Ch.Assert(Parent.
_type
is KeyDataViewType);
446
Ch.Assert(Parent.
_type
is KeyDataViewType);