Please checkout the tutorial for d2go how to use torchvision_ops:

  
      

      github.com
  

  
    pytorch/android-demo-app 20

  master/D2Go

  PyTorch android examples of usage in applications. Contribute to pytorch/android-demo-app development by creating an account on GitHub.