parameters: (self, indices_start, indices_stop, indices)
return_statement: return tf.concat(items, axis=0)
docstring: _partitions_read
docstring_summary: _partitions_read
docstring_tokens: _partitions_read
function: def _partitions_read(self, indices_start, indices_stop, indices):
          """_partitions_read"""
          items = []
          # TODO: change to tf.while_loop
          for index in indices:
              slice_start = indices_start[index] - self._partitions_start[index]
              slice_size = indices_stop[index] - indices_start[index]
              slice_start = [slice_start] + self._slice_suffix_start
              slice_size = [slice_size] + self._slice_suffix_size
              item = tf.slice(self._partitions[index], slice_start, slice_size)
              items.append(item)
          return tf.concat(items, axis=0)
function_tokens: def _partitions_read ( self , indices_start , indices_stop , indices ) : items = [ ] # TODO: change to tf.while_loop for index in indices : slice_start = indices_start [ index ] - self . _partitions_start [ index ] slice_size = indices_stop [ index ] - indices_start [ index ] slice_start = [ slice_start ] + self . _slice_suffix_start slice_size = [ slice_size ] + self . _slice_suffix_size item = tf . slice ( self . _partitions [ index ] , slice_start , slice_size ) items . append ( item ) return tf . concat ( items , axis = 0 )