AI Tools Overview with Code Examples AI Tools Overview with Code Examples 1. TensorFlow TensorFlow is an open-source framework by Google for building and deploying machine learning models. It supports CPUs, GPUs, and TPUs. Example: Image Classification (MNIST) import tensorflow as tf from tensorflow.keras.datasets import mnist from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Flatten (x_train, y_train), (x_test, y_test) = mnist.load_data() x_train, x_test = x_train / 255.0, x_test / 255.0 model = Sequential([ Flatten(input_shape=(28, 28)), Dense(128, activation='relu'), Dense(10, activation='softmax') ]) model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy']) model.fit(x_train, y_train, epochs=5) model.evaluate(x_test, y_test) 2. PyTorch PyTorch is a fl...