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
|
Raises:
Type | Description |
---|---|
ValueError
|
Length of |
ValueError
|
|
Returns:
Type | Description |
---|---|
Model
|
A TensorFlow LeNet model. |