class_docstr: An `ItemSelector` that selects the first `n` items in the batch.
docstr: See `get_selectable()` in superclass.
docstr_tok: ["See","`","get_selectable","(",")","`","in","superclass","."]
code: def get_selectable(self, input_ids, axis):
      """See `get_selectable()` in superclass."""
      all_selectable = super().get_selectable(input_ids, axis)
      return _get_first_or_last_n_item_selectable(
          input_ids=input_ids,
          axis=axis,
          all_selectable=all_selectable,
          num_to_select=self._num_to_select,
          reverse=False,
      )
  
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import map_fn
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops.ragged import ragged_array_ops
  from tensorflow.python.ops.ragged import ragged_functional_ops
  from tensorflow.python.ops.ragged import ragged_math_ops
  from tensorflow.python.ops.ragged import ragged_tensor
label_desc: Use image node_id 2 for calling the FirstNItemSelector obj's underlying member method code with example usage: obj.get_selectable(input_ids, axis) and returns: _get_first_or_last_n_item_selectable