|
Keraflow
Deep Learning for Python.
|
Permutes the dimensions of the input tensor according to a given pattern. More...
Public Member Functions | |
| def | __init__ |
Permutes the dimensions of the input tensor according to a given pattern.
Behaves like numpy.transpose().
(nb_samples, x, y, ...)(nb_samples, y, x, ...) | def keraflow.layers.core.PermuteDims.__init__ | ( | self, | |
| dims, | |||
include_batch_dim = False, |
|||
| kwargs | |||
| ) |
| dims | list of int. The permuting dimension pattern. |
| include_batch_dim | boolean. If true, in dims, 0 refers to the first dimension; otherwise, 0 refers to the second dimension(0->1, 1->2...). |
| kwargs | see Layer.__init__. |