pytorch/caffe2/python/predictor_constants.py
Fei Sun 39fa092a13 Constant string is generated from Protobuf instead of Thrift
Summary: To make the predictor open souorce, move the constants that are generated from Thrift to Protobuf.

Reviewed By: salexspb

Differential Revision: D4656884

fbshipit-source-id: d4dbb3416e8396185e0981fcd9a090fbb054a18a
2017-04-04 15:03:39 -07:00

8 lines
268 B
Python

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import caffe2.proto.predictor_consts_pb2 as predictor_consts
predictor_constants = predictor_consts.PredictorConsts()