aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-04-07 09:51:44 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-04-07 11:03:19 -0700
commit5a58948a2645dfb4dcad9ac330636c9d88b900a6 (patch)
tree96434cec41ee9bb10c1096c5ff7dbd1250e8d902
parent09906d7e122f3bff448ecd9d608c7f0c05a9e66e (diff)
Fix python3 error in framework/ops_test
Change: 119284140
-rw-r--r--tensorflow/python/framework/ops_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/framework/ops_test.py b/tensorflow/python/framework/ops_test.py
index 0df619c16e..56423adce0 100644
--- a/tensorflow/python/framework/ops_test.py
+++ b/tensorflow/python/framework/ops_test.py
@@ -59,7 +59,7 @@ class SparseTensorTest(test_util.TensorFlowTestCase):
def testPythonConstruction(self):
indices = [[1, 2], [2, 0], [3, 4]]
- values = ["a", "b", "c"]
+ values = [b"a", b"b", b"c"]
shape = [4, 5]
sp = ops.SparseTensor(indices, values, shape)
self.assertEqual(sp.indices.dtype, dtypes.int64)