|
Keraflow
Deep Learning for Python.
|
Flatten the input tensor into 1D. More...
Public Member Functions | |
| def | __init__ |
Flatten the input tensor into 1D.
Behaves like numpy.reshape().
(nb_samples, x, y, ...)(nb_samples, Prod(x,y,...)) | def keraflow.layers.core.Flatten.__init__ | ( | self, | |
include_batch_dim = False, |
|||
| kwargs | |||
| ) |
| include_batch_dim | boolean. If False, batch dimension is kept (i.e the output shape will be of two dimensions). |
| kwargs | see Layer.__init__. |