Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82fd35d commit 1ee7bc0Copy full SHA for 1ee7bc0
lib/matplotlib/cbook.py
@@ -2388,7 +2388,7 @@ def _is_tensorflow_array(x):
2388
# has created a TensorFlow array, TensorFlow should already be in sys.modules
2389
# we use `is_tensor` to not depend on the class structure of TensorFlow
2390
# arrays, as `tf.Variables` are not instances of `tf.Tensor`
2391
- # (but convert the same way)
+ # (they both convert the same way)
2392
return isinstance(x, sys.modules['tensorflow'].is_tensor(x))
2393
except Exception: # TypeError, KeyError, AttributeError, maybe others?
2394
# we're attempting to access attributes on imported modules which
0 commit comments