forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise a better error message when a list element is not convertible t…
…o Tensor. Previously, we hit an erroneous assertion when converting a list argument to a list of tensors. This change makes it clearer what caused the error when one or more of the arguments is an object that is not convertible to `tf.Tensor`. Fixes tensorflow#2385. Change: 122600354
- Loading branch information
1 parent
34f1d68
commit dd3b812
Showing
2 changed files
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters