Fix mismatch in expected_bytes of tstring tensor.

PiperOrigin-RevId: 289654998
Change-Id: Ie08481b1c1689a747102525168e8876d62d6bbbe
This commit is contained in:
Dero Gharibian 2020-01-14 08:16:21 -08:00 committed by TensorFlower Gardener
parent d2318f541e
commit b32ee7b120

View File

@ -60,7 +60,7 @@ std::vector<Tensor> tensor_doubles{
test::AsTensor<double>({100.0}), test::AsTensor<double>({200.0}),
test::AsTensor<double>({400.0}), test::AsTensor<double>({800.0})};
const string str = "test string"; // NOLINT
const tstring str = "test string"; // NOLINT
std::vector<Tensor> tensor_strs{test::AsTensor<tstring>({str})};
const DatasetTestParam test_cases[] = {