21 references to IsStandardScalar
Microsoft.ML.Data (19)
Commands\ShowSchemaCommand.cs (2)
216
if (!type.
IsStandardScalar
() && !(type is KeyDataViewType))
255
if (!type.ItemType.
IsStandardScalar
() && !(type.ItemType is KeyDataViewType))
Commands\TypeInfoCommand.cs (1)
144
ch.Assert(type.
IsStandardScalar
());
Data\Conversion.cs (7)
459
else if (!typeDst.
IsStandardScalar
())
462
Contracts.Assert(typeSrc is KeyDataViewType || typeSrc.
IsStandardScalar
());
463
Contracts.Assert(typeDst is KeyDataViewType || typeDst.
IsStandardScalar
());
541
Contracts.CheckParam(typeDst.
IsStandardScalar
() || typeDst is KeyDataViewType, nameof(typeDst),
628
if (!t.
IsStandardScalar
() && !(t is KeyDataViewType) || !_isDefaultDelegates.TryGetValue(t.RawType, out del))
671
else if (!t.
IsStandardScalar
() || !_isNADelegates.TryGetValue(t.RawType, out del))
694
else if (!t.
IsStandardScalar
() || !_hasNADelegates.TryGetValue(t.RawType, out del))
DataLoadSave\Text\TextLoaderParser.cs (3)
86
Contracts.Assert(type.
IsStandardScalar
() || type is KeyDataViewType);
99
Contracts.Assert(type.
IsStandardScalar
() || type is KeyDataViewType);
713
Contracts.Assert(itemType is KeyDataViewType || itemType.
IsStandardScalar
());
DataLoadSave\Text\TextSaver.cs (3)
100
Contracts.Assert(type.
IsStandardScalar
() || type is KeyDataViewType);
329
return item.
IsStandardScalar
() || item is KeyDataViewType;
403
ch.Check(itemType is KeyDataViewType || itemType.
IsStandardScalar
());
Transforms\KeyToVector.cs (1)
826
if (!col.ItemType.
IsStandardScalar
())
Transforms\ValueToKeyMappingEstimator.cs (1)
187
if (!col.ItemType.
IsStandardScalar
())
Transforms\ValueToKeyMappingTransformer.cs (1)
223
if (itemType is KeyDataViewType || itemType.
IsStandardScalar
())
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
704
if (_parent.OutputTypes[iinfo].
IsStandardScalar
())
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
873
if (_parent._outputTypes[iinfo].
IsStandardScalar
())