caffe2-code-generator This tool is used to take a prototxt file and generate caffe2 python code for training and inference. Pre-requisistes python 2.7 protobuf