DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
convert tensor to numpy array
#Tensor that don't requires grad. tensor.numpy() #Tensor that requires grad. tensor.detach().numpy()
PREVIOUS
NEXT
Tagged:
#convert
#tensor
#numpy
#array
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit