I run version 1.8 of TensorFlow on Python 3.
I am getting the following exception:
import tensorflow as tf
Matrix_one = tf.constant([[2,3],[3,4]])
with tf.Session() as session:
print(session.run(tf.math.log(Matrix_one)))
AttributeError: module 'tensorflow.tools.api.generator.api.math' has no attribute 'log'
print (tf.__version__)