Corresponding data type for BYTE (#15627)
authorfulltopic <full015zf@yahoo.com>
Thu, 17 Jan 2019 08:15:00 +0000 (00:15 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 17 Jan 2019 08:17:56 +0000 (00:17 -0800)
commitc7a48da493e31424942caf830e37cca027c5b149
tree8a3d2434e7bd35b99446b55f4424921ee638b367
parentec8b1c94a9531fd2d2d78153774300b625a5c712
Corresponding data type for BYTE (#15627)

Summary:
TensorProto.DataType in caffe2/proto/caffe2.proto has BYTE = 3 defined, while there is no corresponding TypeMeta defined in caffe2/core/types.cc: DataTypeToTypeMeta. This issue failed the C++ tutorial of MNIST + LMDB.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15627

Differential Revision: D13709602

Pulled By: ezyang

fbshipit-source-id: d4826d0f9b3975e6a8478d4bad1abbbedcaea197
caffe2/core/types.cc