'how to resolve this attribute error i really want to use to_tensor() method

The image is showing a error AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'to_tensor

[![I think we need to make some changes in the ops.py file but I don't know what

]2]2



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source