'Tensor' object has no attribute 'numpy'

Hello:

I got interested in the book and started copying & pasting the tensorflow version of the code in “3.2. Linear Regression Implementation from Scratch” to my Jupyter.

As soon as I tried to plot the scatter I got the above error.
Tensor’ object has no attribute 'numpy’
I tried to move on to the next line and got that it "has no len()"

Not sure what I missed, but, you know, for a newbie like myself doesn’t bode well when even the simplest example doesn’t work… not at all well

Thanks,
G.