Tensorflow2.0数据集
#Tensorflow2.0数据集import tensorflow as tf#数据文件输入和预处理raw_data = tf.io.read_file(filename='./data_file')raw_data = tf.io.decode_raw(input_bytes=raw_data, out_type=tf.int8)raw_data = tf.reshape(raw_data, [128, 1024])raw_data = tf.dtypes.cast(raw_data, tf