Implemented interface member:
14 overrides of Equals
Microsoft.ML.Core.Tests (1)
UnitTests\TestCustomTypeRegister.cs (1)
123public override bool Equals(DataViewType other)
Microsoft.ML.DataView (9)
DataViewType.cs (7)
110public override bool Equals(DataViewType other) 272public override bool Equals(DataViewType other) 308public override bool Equals(DataViewType other) 347public override bool Equals(DataViewType other) 386public override bool Equals(DataViewType other) 422public override bool Equals(DataViewType other) 458public override bool Equals(DataViewType other)
KeyDataViewType.cs (1)
135public override bool Equals(DataViewType other)
VectorType.cs (1)
121public override bool Equals(DataViewType other)
Microsoft.ML.ImageAnalytics (1)
ImageType.cs (1)
90public override bool Equals(DataViewType other)
Microsoft.ML.OnnxTransformer (2)
OnnxMapType.cs (1)
30public override bool Equals(DataViewType other)
OnnxSequenceType.cs (1)
36public override bool Equals(DataViewType other)
Microsoft.ML.Samples (1)
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
172public override bool Equals(DataViewType other)
36 references to Equals
Microsoft.ML.AutoML (1)
Utils\UserInputValidationUtil.cs (1)
220if (trainCol.Type != validCol.Value.Type && !trainCol.Type.Equals(validCol.Value.Type))
Microsoft.ML.Core (4)
Data\AnnotationUtils.cs (1)
364if (!type.Equals(annotationType))
Data\ColumnTypeExtensions.cs (2)
84if (columnType.Equals(other)) 90if (!vectorType.ItemType.Equals(otherVectorType.ItemType))
Data\IEstimator.cs (1)
94if (!ItemType.Equals(source.ItemType))
Microsoft.ML.Data (15)
Data\DataViewTypeManager.cs (2)
186if (_rawTypeToDataViewTypeMap.ContainsKey(rawType) && _rawTypeToDataViewTypeMap[rawType].Equals(dataViewType) && 191if (_rawTypeToDataViewTypeMap.ContainsKey(rawType) && !_rawTypeToDataViewTypeMap[rawType].Equals(dataViewType))
Data\DataViewUtils.cs (1)
1257Ch.Assert(type.Equals(cursor.Schema[col].Type));
Data\SchemaAnnotationsExtensions.cs (1)
62&& keyValueItemType.Equals(vectorType.ItemType);
DataLoadSave\Binary\BinarySaver.cs (1)
722_host.Assert(type.Equals(codec.Type));
Scorers\PredictionTransformer.cs (1)
284if (!inputSchema[col].Type.Equals(FeatureColumnType))
Scorers\SchemaBindablePredictorWrapper.cs (1)
139if (!typeItemType.Equals(typeInItemType))
Transforms\ColumnConcatenatingEstimator.cs (1)
117if (!col.ItemType.Equals(itemType))
Transforms\ColumnConcatenatingTransformer.cs (1)
481else if (currentItemType.Equals(itemType))
Transforms\Normalizer.cs (4)
356if (!col.ItemType.Equals(NumberDataViewType.Single) && !col.ItemType.Equals(NumberDataViewType.Double)) 710if (!itemType.Equals(NumberDataViewType.Single) && !itemType.Equals(NumberDataViewType.Double))
Transforms\ValueToKeyMappingTransformer.cs (1)
480if (!autoConvert && !typeSrc.Equals(bldr.ItemType))
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
704host.Assert(codec.Type.Equals(ItemType));
Microsoft.ML.DataView (1)
VectorType.cs (1)
127if (!ItemType.Equals(tmp.ItemType))
Microsoft.ML.FastTree (1)
TreeEnsembleFeaturizationTransformer.cs (1)
55Host.Check(_featureDetachedColumn.Type.Equals(inspectedFeatureColumn.Type), typeErrorMessage);
Microsoft.ML.Parquet (1)
PartitionedFileLoader.cs (1)
672if (!type1.Equals(type2))
Microsoft.ML.PCA (2)
PcaTransformer.cs (2)
511if (!(type is VectorDataViewType vectorType && vectorType.Size > 1 && vectorType.ItemType.Equals(NumberDataViewType.Single))) 824if (col.Kind != SchemaShape.Column.VectorKind.Vector || !col.ItemType.Equals(NumberDataViewType.Single))
Microsoft.ML.Recommender (4)
MatrixFactorizationPredictor.cs (2)
384_env.CheckParam(type.Equals(_parent.MatrixColumnIndexType), nameof(schema), msg); 389_env.CheckParam(type.Equals(_parent.MatrixRowIndexType), nameof(schema), msg);
MatrixFactorizationTrainer.cs (2)
456if (!matrixColumnIndexColInfo.Type.Equals(validMatrixColumnIndexColInfo.Type)) 461if (!matrixRowIndexColInfo.Type.Equals(validMatrixRowIndexColInfo.Type))
Microsoft.ML.StandardTrainers (1)
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (1)
380if (!inputSchema[col].Type.Equals(FeatureColumnTypes[i]))
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipeBase.cs (1)
649return exactTypes ? type1.Equals(type2) : type1.SameSizeAndItemType(type2);
Microsoft.ML.TestFrameworkCommon (3)
TestCommon.cs (3)
203return exactTypes ? type1.Equals(type2) : type1.SameSizeAndItemType(type2); 215if (columnType.Equals(other)) 221if (!vectorType.ItemType.Equals(otherVectorType.ItemType))
Microsoft.ML.Tests (1)
Transformers\ConvertTests.cs (1)
405Assert.True(outDataNew.Schema[1].Type.Equals(outDataNew.Schema[1].Type));
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
335if (!col.IsKey || !col.ItemType.Equals(NumberDataViewType.UInt32))