What does putting numpy() after a variable do?

I am watching week 2 videos on the last course, and am curious what adding .numpy() at the end does. I am used to using the numpy() library like np.ndarray and whatever else, but not after a variable like

for x, y in dataset:
print(x.numpy(), y.numpy())

As an appendage, I am also curious when I can use the .numpy() method. I was playing around with it, and it doesn’t seem like I can just turn a python list into a numpy array by adding it on to the end as follows.

x = [1,2,3,4,5,6,7,8,9]
x.numpy()

I’ve used the type() function as well to look at the data types and it looks like it stays a sort of tensorflow eagertensor, whatever that is.

Might be worth a read over there

Awesome. I’ll give it a read, thanks for the resource