Useful or not, from you.
tensorflow TF 2.0 'Tensor' object has no attribute 'numpy' while using .numpy() although eager execution enabled by default

Although Eager_execution is enabled by default in TF 2.0, I am getting errors while using .numpy()

Please note that i am not using the code in compatibility mode to TF 1.0.

expt = [[[ 0, 0, 0], [ 4, 71, 141], [ 0, 0, 0]],

       [[ 83,  25,  85],
        [ 90, 190, 143],
        [  4, 141,  49]],

       [[  0,   0,   0],
        [  4,  71,  49],
        [  0,   0,   0]]]

expt = tf.convert_to_tensor(expt)

expected_values = expt.numpy()

AttributeError: 'Tensor' object has no attribute 'numpy'

CPU TEST VERSION OF TENSORFLOW 2.0.

That's a useful answer
Without any help

Yes.