Beispiel #1
0
def tile(x, reps, **kwargs):
    """Tile the input according to the given multiples.

    Parameters
    ----------
    x : Tensor
        The input tensor.
    reps : list of int
        The multiple of each axis.

    Returns
    -------
    Tensor
        The output tensor.

    """
    return ops.Tile(x, multiples=reps)
Beispiel #2
0
 def LayerSetup(self, bottom):
     return _ops.Tile(bottom, **self.arguments)
Beispiel #3
0
def tile(input, multiples, name=None):

    return ops.Tile(input, multiples=multiples, name=name)
Beispiel #4
0
 def Setup(self, bottom):
     super(TileLayer, self).Setup(bottom)
     input = bottom[0] if isinstance(bottom, list) else bottom
     return ops.Tile(input, **self._param)