Base:
27 references to ToString
Microsoft.ML.Core.Tests (18)
UnitTests\ColumnTypes.cs (18)
40
if (dict.ContainsKey(tmp1) && dict[tmp1] != tmp1.
ToString
())
41
Assert.Fail(dict[tmp1] + " and " + tmp1.
ToString
() + " are duplicates.");
42
dict[tmp1] = tmp1.
ToString
();
46
if (dict.ContainsKey(tmp2) && dict[tmp2] != tmp2.
ToString
())
47
Assert.Fail(dict[tmp2] + " and " + tmp2.
ToString
() + " are duplicates.");
48
dict[tmp2] = tmp2.
ToString
();
67
if (dict.ContainsKey(tmp1) && dict[tmp1] != tmp1.
ToString
())
68
Assert.Fail(dict[tmp1] + " and " + tmp1.
ToString
() + " are duplicates.");
69
dict[tmp1] = tmp1.
ToString
();
73
if (dict.ContainsKey(tmp2) && dict[tmp2] != tmp2.
ToString
())
74
Assert.Fail(dict[tmp2] + " and " + tmp2.
ToString
() + " are duplicates.");
75
dict[tmp2] = tmp2.
ToString
();
87
if (dict.ContainsKey(tmp1) && dict[tmp1] != tmp1.
ToString
())
88
Assert.Fail(dict[tmp1] + " and " + tmp1.
ToString
() + " are duplicates.");
89
dict[tmp1] = tmp1.
ToString
();
93
if (dict.ContainsKey(tmp2) && dict[tmp2] != tmp2.
ToString
())
94
Assert.Fail(dict[tmp2] + " and " + tmp2.
ToString
() + " are duplicates.");
95
dict[tmp2] = tmp2.
ToString
();
Microsoft.ML.Data (1)
Evaluators\QuantileRegressionEvaluator.cs (1)
65
throw Host.ExceptSchemaMismatch(nameof(schema), "label", schema.Label.Value.Name, "Single", t.
ToString
());
Microsoft.ML.ImageAnalytics (2)
VectorToImageTransform.cs (2)
307
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColName, new VectorDataViewType(vectorType.ItemType, _columns[col].ImageHeight, _columns[col].ImageWidth, _columns[col].Planes).
ToString
(), vectorType.
ToString
());
Microsoft.ML.PCA (1)
PcaTransformer.cs (1)
556
new VectorDataViewType(NumberDataViewType.Single, _parent._transformInfos[i].Dimension).
ToString
(), colSchemaInfo.InputType.ToString());
Microsoft.ML.TorchSharp (2)
AutoFormerV2\ObjectDetectionTrainer.cs (2)
484
new VectorDataViewType(new KeyDataViewType(typeof(uint), uint.MaxValue)).
ToString
(), labelCol.GetTypeString());
490
new VectorDataViewType(NumberDataViewType.Single).
ToString
(), boundingBoxCol.GetTypeString());
Microsoft.ML.Transforms (3)
RandomFourierFeaturizing.cs (1)
250
new VectorDataViewType(NumberDataViewType.Single, _transformInfos[col].SrcDim).
ToString
(), type.ToString());
Text\LdaTransform.cs (1)
843
throw env.ExceptSchemaMismatch(nameof(inputSchema), "input", columns[i].InputColumnName, "known-size vector of Single", srcColType.
ToString
());
Text\WordEmbeddingsExtractor.cs (1)
939
throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName, new VectorDataViewType(TextDataViewType.Instance).
ToString
(), col.GetTypeString());