Fix sample code by incorporating device into model, image, and text variables

#1

Because previous sample code do not use device variable in the model code, it does not work on GPU mode. I fixed them.

LINE org

Thank you! LGTM

pfzhu changed pull request status to merged

Sign up or log in to comment