keras.datasets без модуля
import tensorflow as tf
from tensorflow import keras
tf.keras.datasets.mnist.load_data(path="mnist.npz")
Depressed Dotterel
import tensorflow as tf
from tensorflow import keras
tf.keras.datasets.mnist.load_data(path="mnist.npz")