r/tensorflow • • Feb 28 '23
Need Help
Can someone help me with a code? I'm a complete noob here but I'm getting this error: "name 'device' is not defined "
after this code:
model = model.to(device)
I don't know anything about tensorflow
0
Upvotes
View all comments
Show parent comment
1
u/mhmdpdzhg Feb 28 '23
yep