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