parameters: (self, blobs=None, **kwargs)
return_statement: return all_outs
docstring: Run net forward in batches.
  
      Parameters
      ----------
      blobs : list of blobs to extract as in forward()
      kwargs : Keys are input blob names and values are blob ndarrays.
               Refer to forward().
  
      Returns
      -------
      all_outs : {blob name: list of blobs} dict.
docstring_summary: Run net forward in batches.
docstring_tokens: Run net forward in batches .
function: def _Net_forward_all(self, blobs=None, **kwargs):
      """
      Run net forward in batches.
  
      Parameters
      ----------
      blobs : list of blobs to extract as in forward()
      kwargs : Keys are input blob names and values are blob ndarrays.
               Refer to forward().
  
      Returns
      -------
      all_outs : {blob name: list of blobs} dict.
      """
      # Collect outputs from batches
      all_outs = {out: [] for out in set(self.outputs + (blobs or []))}
      for batch in self._batch(kwargs):
          outs = self.forward(blobs=blobs, **batch)
          for out, out_blob in six.iteritems(outs):
              all_outs[out].extend(out_blob.copy())
      # Package in ndarray.
      for out in all_outs:
          all_outs[out] = np.asarray(all_outs[out])
      # Discard padding.
      pad = len(six.next(six.itervalues(all_outs))) - len(six.next(six.itervalues(kwargs)))
      if pad:
          for out in all_outs:
              all_outs[out] = all_outs[out][:-pad]
      return all_outs
function_tokens: def _Net_forward_all ( self , blobs = None , * * kwargs ) : # Collect outputs from batches all_outs = { out : [ ] for out in set ( self . outputs + ( blobs or [ ] ) ) } for batch in self . _batch ( kwargs ) : outs = self . forward ( blobs = blobs , * * batch ) for out , out_blob in six . iteritems ( outs ) : all_outs [ out ] . extend ( out_blob . copy ( ) ) # Package in ndarray. for out in all_outs : all_outs [ out ] = np . asarray ( all_outs [ out ] ) # Discard padding. pad = len ( six . next ( six . itervalues ( all_outs ) ) ) - len ( six . next ( six . itervalues ( kwargs ) ) ) if pad : for out in all_outs : all_outs [ out ] = all_outs [ out ] [ : - pad ] return all_outs