class_docstr: Gathers slices from a data tensor, based on an indices tensors (``tf.gather`` in Layer form).
  
  Args:
      axis (int or Tensor): the data axis to gather from.
      batch_dims (int): the number of batch dimensions in the data and indices.
class_docstr_tok: ["Gathers","slices","from","a","data","tensor",",","based","on","an","indices","tensors","(","``","tf.gather","``","in","Layer","form",")",".","Args",":","axis","(","int","or","Tensor",")",":","the","data","axis","to","gather","from",".","batch_dims","(","int",")",":","the","number","of","batch","dimensions","in","the","data","and","indices","."]
docstr: Args:
      inputs (list): a pair of tensors, corresponding to the ``params`` and ``indices``
          parameters to ``tf.gather``.
docstr_tok: ["Args",":","inputs","(","list",")",":","a","pair","of","tensors",",","corresponding","to","the","``","params","``","and","``","indices","``","parameters","to","``","tf.gather","``","."]
code: def call(self, inputs):
      """
      Args:
          inputs (list): a pair of tensors, corresponding to the ``params`` and ``indices``
              parameters to ``tf.gather``.
      """
      data, indices = inputs
      return tf.gather(
          data, indices, axis=self._axis, batch_dims=self._batch_dims
      )
  
file_path: stellargraph/stellargraph/layer/misc.py
imports: import tensorflow
  from tensorflow.keras.layers import Layer
  from tensorflow.keras import backend
  import warnings
label_desc: Use image node_id 4 for calling the GatherIndices obj's underlying member method code with example usage: obj.call(inputs) and returns: tf