Does tensorflow.nn.np simply call numpy or it is implemented in tensorflow's c++ back-end?
When in doubt, print out the module.
import tensorflow
print(tensorflow.nn.np)
For me it prints:
<module 'numpy' from '/Users/ch/miniconda/envs/sb35/lib/python3.5/site-packages/numpy/__init__.py'>
So tensorflow.nn.np is just an alias for numpy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With