Fix and re-enable tensor deserialization test.
@@ -811,9 +811,7 @@ void checkDeserialization(const string &name, std::unique_ptr<Tensor> tensor) {
TEST("Require that tensor deserialization matches Java") {
checkDeserialization("non_existing_tensor", std::unique_ptr<Tensor>());
-#if 0 // TODO: These teste must be reenabled.
- checkDeserialization("empty_tensor", createTensor({}, {}));
-#endif
+ checkDeserialization("empty_tensor", createTensor({{{}, 0.0}}, {}));
checkDeserialization("multi_cell_tensor",
createTensor({ {{{"dimX", "a"}, {"dimY", "bb"}}, 2.0 },
{{{"dimX", "ccc"},
