Skip to content

Instantly share code, notes, and snippets.

View theSLWayne's full-sized avatar
🇱🇰
Busy being Batman

Hiran Hasanka theSLWayne

🇱🇰
Busy being Batman
  • Sabaragamuwa University of Sri Lanka
  • Monaragala, Sri Lanka
  • X @theSLWayne
View GitHub Profile
@theSLWayne
theSLWayne / tensorflow_files.md
Created May 30, 2021 14:39
A list of resources to refer about various file types used in TensorFlow.
import tensorflow as tf
# Create the model
model = tf.keras.models.Sequential([
tf.keras.layers.Conv2D(16, kernel_size = (3, 3), activation = 'relu', padding = 'same', input_shape = (244, 244, 3)),
tf.keras.layers.MaxPool2D(pool_size = (2, 2), strides = 2),
tf.keras.layers.Conv2D(32, kernel_size = (3, 3), activation = 'relu', padding = 'same'),
tf.keras.layers.MaxPool2D(pool_size = (2, 2), strides = 2),
tf.keras.layers.Flatten(),
tf.keras.layers.Dense(2, activation = 'softmax')
import netron
netron.start('<path_to_model_file>')