这个bug发生在 读取TFRecord格式的文件中。
解决方案是tf.FixedLenFeature后面加上具体维度如:
features = tf.parse_single_example(serialized_example,
features={
'label': tf.FixedLenFeature([381], tf.int64)
})