deepy/core/loop.py
def get_outputs(self, *args):
        """
        Get the outputs of the loop.
        Return specific variables by passing the keys to the arguments.
        :rtype: MapDict
        """
        if args:
            output_vars = map(self._scan_outputs.get, args)
            if len(output_vars) == 1:
                return output_vars[0]
            else:
                return output_vars
        else:
            return self._scan_outputs
def get_outputs(self, *args):
        """
        Get the outputs of the loop.
        Return specific variables by passing the keys to the arguments.
        :rtype: MapDict
        """
        if args:
            output_vars = map(self._scan_outputs.get, args)
            if len(output_vars) == 1:
                return output_vars[0]
            else:
                return output_vars
        else:
            return self._scan_outputs
Get the outputs of the loop.
        Return specific variables by passing the keys to the arguments.
        :rtype: MapDict