import tensorflow as tf # Use TensorFlow for production-grade projects model = tf.keras.Sequential([ tf.keras.layers.Dense(64, activation='relu'), tf.keras.layers.Dense(10, activation='softmax') ]) # Train and evaluate the model model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy']) model.fit(train_dataset, epochs=10, validation_data=val_dataset) __ __