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