Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert pytorch tensor to numpy

na = a.to('cpu').numpy()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #pytorch #tensor #numpy
ADD COMMENT
Topic
Name
2+7 =