Sure, this was just an example for a typical classification use case.
Production-ready PyTorch is planned to be released later this summer / autumn.
Have a look at the road to PyTorch1.0 113 for more information. While it’s not released, you could stick to ONNX and export the models in Caffe2.