diff options
author | 2016-03-23 08:30:21 -0800 | |
---|---|---|
committer | 2016-03-23 12:10:09 -0700 | |
commit | 9394661924a37fe17e5f11f43833e9bbffbf23ff (patch) | |
tree | b97cff67b6b80d66e7d959dee21d2ee8c4a6cf19 /third_party/eigen3/unsupported/Eigen/CXX11/Core | |
parent | d79bc31f45b1fdf98bdcac022f0a86a3e7fbf860 (diff) |
Fix dense_shape check.
This rectifies the following error:
TypeError: Using a `tf.Tensor` as a Python `bool` is not allowed. Use `if t is
not None:` instead of `if t:` to test if a tensor is defined, and use the
logical TensorFlow ops to test the value of a tensor.
when the conditional branch contains a tf.IndexedSlices object with
dense_shape=tf.constant(...).
Change: 117937593
Diffstat (limited to 'third_party/eigen3/unsupported/Eigen/CXX11/Core')
0 files changed, 0 insertions, 0 deletions