lenet
LeNet
¶
A standard LeNet implementation in TensorFlow.
The LeNet model has 3 convolution layers and 2 dense layers.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_shape |
Tuple[int, int, int]
|
shape of the input data (height, width, channels). |
(28, 28, 1)
|
classes |
int
|
The number of outputs the model should generate. |
10
|
Returns:
Type | Description |
---|---|
tf.keras.Model
|
A TensorFlow LeNet model. |