include numpy's other 32bit int type

Summary: forgot one :)

Reviewed By: akyrola

Differential Revision: D5534905

fbshipit-source-id: a0e58ca3922ec80f526f7586931ff3da8e9bcffc
diff --git a/caffe2/python/utils.py b/caffe2/python/utils.py
index 27560b4..a5afaf2 100644
--- a/caffe2/python/utils.py
+++ b/caffe2/python/utils.py
@@ -65,7 +65,7 @@
     elif arr.dtype == np.float64:
         tensor.data_type = caffe2_pb2.TensorProto.DOUBLE
         tensor.double_data.extend(list(arr.flatten().astype(np.float64)))
-    elif arr.dtype == np.int:
+    elif arr.dtype == np.int or arr.dtype == np.int32:
         tensor.data_type = caffe2_pb2.TensorProto.INT32
         tensor.int32_data.extend(list(arr.flatten().astype(np.int)))
     elif arr.dtype == np.int16: