TRAttack
TRAttack copied to clipboard
add cpu(), fix can't convert bug
can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.