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)
107if (!IsValidRangeFilterColumnType(ch, _type)) 109if (_type is KeyDataViewType) 130_includeMax = options.IncludeMax ?? (options.Max == null || (_type is KeyDataViewType && _max >= 1)); 155if (_type != NumberDataViewType.Single && _type != NumberDataViewType.Double && _type.GetKeyCount() == 0) 156throw Host.ExceptSchemaMismatch(nameof(schema), "source", column, "Single, Double or Key", _type.ToString()); 241if (_type == NumberDataViewType.Single) 243if (_type == NumberDataViewType.Double) 245Host.Assert(_type is KeyDataViewType); 335Contracts.Assert(filter._type is KeyDataViewType); 337var methodInfo = del.GetMethodInfo().GetGenericMethodDefinition().MakeGenericMethod(filter._type.RawType); 343Contracts.Assert(filter._type is KeyDataViewType); 357Ch.Assert(Parent._type == NumberDataViewType.Single); 369Ch.Assert(Parent._type == NumberDataViewType.Single); 375Ch.Assert(Parent._type == NumberDataViewType.Single); 390Ch.Assert(Parent._type == NumberDataViewType.Double); 402Ch.Assert(Parent._type == NumberDataViewType.Double); 408Ch.Assert(Parent._type == NumberDataViewType.Double); 425Ch.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); 440Ch.Assert(Parent._type is KeyDataViewType); 446Ch.Assert(Parent._type is KeyDataViewType);