Exemplo n.º 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)
Exemplo n.º 2
0
 def LayerSetup(self, bottom):
     return _ops.Tile(bottom, **self.arguments)
Exemplo n.º 3
0
def tile(input, multiples, name=None):

    return ops.Tile(input, multiples=multiples, name=name)
Exemplo n.º 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)