class_docstr: A chainer.Link that returns constant value(s).
  
  This is a :obj:`chainer.Link` that returns constant
  :obj:`chainer.Variable` (s) when :meth:`forward` method is called.
  
  Args:
      outputs (~numpy.ndarray or tuple or ~numpy.ndarray):
          The value(s) of variable(s) returned by :meth:`forward`.
          If an array is specified, :meth:`forward` returns
          a :obj:`chainer.Variable`. Otherwise, it returns a tuple of
          :obj:`chainer.Variable`.
code: def __init__(self, outputs):
      super(ConstantStubLink, self).__init__()
  
      if isinstance(outputs, tuple):
          self._tuple = True
      else:
          self._tuple = False
          outputs = (outputs,)
  
      self._outputs = []
      for output in outputs:
          if not isinstance(output, np.ndarray):
              raise ValueError(
                  "output must be numpy.ndarray or tuple of numpy.ndarray"
              )
          self._outputs.append(chainer.Variable(output))
      self._outputs = tuple(self._outputs)
  
file_path: chainercv/chainercv/utils/testing/constant_stub_link.py
imports: import numpy
  import chainer
label_desc: Use image node_id 1 to create a new ConstantStubLink object from inherited base classes: chainer with example: obj = ConstantStubLink(outputs)