diff options
author | Gautam <gautamrbharadwaj@gmail.com> | 2018-10-02 11:56:06 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 11:56:06 +0530 |
commit | 38808119e9d5f8ad24bb414aab281e0fa3fde6dc (patch) | |
tree | 51760116582b92e3e1a9376cac9fd317f4695141 /tensorflow/python/keras | |
parent | 9884cb36290664593682d235ce0d5e1925e3fa23 (diff) |
Update backend.py
Adding missing import files in the commented examples. When trying out that particular example in commented section the TensorFlow and bumpy imports are missing
Diffstat (limited to 'tensorflow/python/keras')
-rw-r--r-- | tensorflow/python/keras/backend.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/python/keras/backend.py b/tensorflow/python/keras/backend.py index 584facc859..79ca4beb73 100644 --- a/tensorflow/python/keras/backend.py +++ b/tensorflow/python/keras/backend.py @@ -773,6 +773,8 @@ def is_keras_tensor(x): Examples: ```python + >>> import tensorflow as tf + >>> import numpy >>> from keras import backend as K >>> from keras.layers import Input, Dense >>> np_var = numpy.array([1, 2]) |