DL Experiment 4
DL Experiment 4
Performing LetNet
import tensorflow as tf
from tensorflow.keras import datasets, layers, models
from tensorflow.keras.utils import to_categorical
return model
Output:-
import tensorflow as tf
import matplotlib.pyplot as plt
Label:-
import tensorflow as tf
import matplotlib.pyplot as plt
Label:-
import tensorflow as tf
import matplotlib.pyplot as plt
Label:-
import tensorflow as tf
import matplotlib.pyplot as plt
Label:-
import tensorflow as tf
from tensorflow.keras import layers, models
from tensorflow.keras.datasets import cifar10
from tensorflow.keras.utils import to_categorical
Output:-
import tensorflow as tf
from tensorflow.keras import layers, models
from tensorflow.keras.datasets import mnist
from tensorflow.keras.utils import to_categorical
import numpy as np
x_train = np.array(x_train_resized)
x_test = np.array(x_test_resized)
Output:-