Keraflow
Deep Learning for Python.
|
Repeat the input tensor n times along given axis. More...
Public Member Functions | |
def | __init__ |
Repeat the input tensor n times along given axis.
Behaves like numpy.reshape().
(nb_samples, | x, y, ...)
(nb_samples, n*x, y, ...)
def keraflow.layers.core.Repeat.__init__ | ( | self, | |
n, | |||
axis = 0 , |
|||
include_batch_dim = False , |
|||
kwargs | |||
) |
n | int. Times to repeat along axis . |
axis | int. The axis to expand dimension. |
include_batch_dim | boolean. If true, axis =0 refers to the first dimension; otherwise, axis =0 refers to the second dimension(0->1, 1->2...). |
kwargs | see Layer.__init__. |