class_docstr: Tiling of an array.
code: def __init__(self, reps):
      if isinstance(reps, six.integer_types):
          self.reps = (reps,)
      elif isinstance(reps, tuple) and all(
          isinstance(x, six.integer_types) for x in reps
      ):
          self.reps = reps
      else:
          msg = (
              "reps must be int or tuple of ints.\n"
              "Actual: {0}".format(type(reps))
          )
          raise TypeError(msg)
  
      if not all(x >= 0 for x in self.reps):
          raise ValueError(
              "All elements in reps must be zero or larger"
          )
  
file_path: chainer/chainer/functions/array/tile.py
imports: import six
  import chainer
  from chainer import backend
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 1 to create a new Tile object from inherited base classes: function_node with example: obj = Tile(reps)