Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A simple CNN for image classification.
import tensorflow as tf
from tensorflow.keras import layers, models
model = models.Sequential()
model.add(layers.Conv2D(32, (3,3), activation='relu', input_shape=(28,28,1)))
model.add(layers.MaxPooling2D((2,2)))
model.add(layers.Flatten())
model.add(layers.Dense(64, activation='relu'))
model.add(layers.Dense(10, activation='softmax'))
model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy'])TensorFlow is an open-source, end-to-end platform for machine learning developed by Google. It provides comprehensive tools, libraries, and community resources for building and deploying ML models across different environments.
Origin & Creator
TensorFlow was created by the Google Brain team and released in 2015 to provide a flexible, scalable platform for machine learning.
Industrial Note
TensorFlow is widely adopted in industry and academia for scalable ML solutions, serving AI applications in computer vision, NLP, recommendation systems, and robotics.