def __call__(self, data):
assert len(data[<NUM_LIT:0>]) == len(self._fn),'<STR_LIT>''<STR_LIT>'.format(len(self._fn))<EOL>ret = []<EOL>for i, ele_fn in enumerate(self._fn):<EOL><INDENT>ret.append(ele_fn([ele[i] for ele in data]))<EOL><DEDENT>return tuple(ret)<EOL>
Batchify the input data.

        Parameters
        ----------
        data : list
            The samples to batchfy. Each sample should contain N attributes.

        Returns
        -------
        ret : tuple
            A tuple of length N. Contains the batchified result of each attribute in the input.