1、关于tf数据集
需要加入tf.enable_eager_execution()
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
import tensorflow_datasets as tfds
import numpy as np
import matplotlib.pyplot as plt
# tfds works in both Eager and Graph modes
tf.enable_eager_execution()
mnist_train = tfds.load(name=mni