you can use cudnn.convert

  
      
      GitHub
  
  
    

soumith/cudnn.torch 56

Torch-7 FFI bindings for NVIDIA CuDNN. Contribute to soumith/cudnn.torch development by creating an account on GitHub.