Skip to content

Instantly share code, notes, and snippets.

View jitvimol's full-sized avatar

Jitvimol jitvimol

View GitHub Profile
@jitvimol
jitvimol / keras_example.py
Last active August 13, 2022 17:54 — forked from new5558/keras_example.py
[Singularity Tutorial] #python
import numpy as np
from tensorflow import keras
from tensorflow.keras import layers
# Model / data parameters
num_classes = 10
input_shape = (28, 28, 1)
# the data, split between train and test sets
# (x_train, y_train), (x_test, y_test) = keras.datasets.mnist.load_data()