def __init__(self, input, names):
        """
        Args:
            input(InputSource): a :class:`InputSource`, whose tensors will get mapped.
            names(list[str]): list of input names corresponding to the tensors
                produced by ``input``.

        Returns:
            InputSource:
        """
        ProxyInputSource.__init__(self, input)
        assert isinstance(names, (list, tuple)), names
        self._names = tuple(names)

        Args:
            input(InputSource): a :class:`InputSource`, whose tensors will get mapped.
            names(list[str]): list of input names corresponding to the tensors
                produced by ``input``.

        Returns:
            InputSource:
        
tensorpack/input_source/input_source_base.py