提交 1ca4b322 编写于 作者: B Brian Williammee 提交者: TensorFlower Gardener

Log actual type with sparse feature parsing errors

PiperOrigin-RevId: 165372385
上级 bcaf3cf8
...@@ -657,7 +657,8 @@ Status FastParseSerializedExample( ...@@ -657,7 +657,8 @@ Status FastParseSerializedExample(
example_dtype != config.sparse[d].dtype) { example_dtype != config.sparse[d].dtype) {
return example_error(strings::StrCat( return example_error(strings::StrCat(
"Data types don't match. ", "Data types don't match. ",
"Expected type: ", DataTypeString(config.sparse[d].dtype))); "Expected type: ", DataTypeString(config.sparse[d].dtype),
", Actual type: ", DataTypeString(example_dtype)));
} }
switch (config.sparse[d].dtype) { switch (config.sparse[d].dtype) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册