|
Keraflow
Deep Learning for Python.
|
Fully connected layer. More...
Public Member Functions | |
| def | __init__ |
Fully connected layer.
(nb_samples, input_dim)(nb_samples, output_dim)(input_dim, output_dim)(output_dim,) | def keraflow.layers.core.Dense.__init__ | ( | self, | |
| output_dim, | |||
init = 'glorot_uniform', |
|||
activation = 'linear', |
|||
bias = True, |
|||
| kwargs | |||
| ) |
| output_dim | int > 0. |
| init | str/function. Function to initialize trainable parameters. See Initializations. |
| activation | str/function. Activation function applied on the output. See Activations. |
| bias | boolean. Whether to include a bias (i.e. make the layer affine rather than linear). |
| kwargs | see Layer.__init__. |