Fix mismatch in expected_bytes of tstring tensor.
PiperOrigin-RevId: 289654998 Change-Id: Ie08481b1c1689a747102525168e8876d62d6bbbe
This commit is contained in:
parent
d2318f541e
commit
b32ee7b120
@ -60,7 +60,7 @@ std::vector<Tensor> tensor_doubles{
|
|||||||
test::AsTensor<double>({100.0}), test::AsTensor<double>({200.0}),
|
test::AsTensor<double>({100.0}), test::AsTensor<double>({200.0}),
|
||||||
test::AsTensor<double>({400.0}), test::AsTensor<double>({800.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})};
|
std::vector<Tensor> tensor_strs{test::AsTensor<tstring>({str})};
|
||||||
|
|
||||||
const DatasetTestParam test_cases[] = {
|
const DatasetTestParam test_cases[] = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user