Created
June 4, 2019 22:01
-
-
Save shnhrtkyk/29dfa7a3c30567e1969199610d065d49 to your computer and use it in GitHub Desktop.
PytorchのCUDA tensorをnumpyに変換
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cudatensor.detach().cpu().numpy() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment