parameters: (data, count, inds, fill=0)
return_statement: return ret
docstring: Unmap a subset of item (data) back to the original set of items (of size count)
docstring_summary: Unmap a subset of item (data) back to the original set of items (of size count)
docstring_tokens: Unmap a subset of item ( data ) back to the original set of items ( of size count )
function: def _unmap(data, count, inds, fill=0):
      """ Unmap a subset of item (data) back to the original set of items (of size count) """
      if len(data.shape) == 1:
          ret = np.empty((count, ), dtype=np.float32)
          ret.fill(fill)
          ret[inds] = data
      else:
          ret = np.empty((count, ) + data.shape[1:], dtype=np.float32)
          ret.fill(fill)
          ret[inds, :] = data
      return ret
function_tokens: def _unmap ( data , count , inds , fill = 0 ) : if len ( data . shape ) == 1 : ret = np . empty ( ( count , ) , dtype = np . float32 ) ret . fill ( fill ) ret [ inds ] = data else : ret = np . empty ( ( count , ) + data . shape [ 1 : ] , dtype = np . float32 ) ret . fill ( fill ) ret [ inds , : ] = data return ret