tf.python_io出错

TensorFlow 2.0 中使用 Python_io 暂时使用如下指令:

  • tf.compat.v1.python_io.TFRecordWriter(filename)