class_docstr: Reversible version of the Select combinator.
class_docstr_tok: ["Reversible","version","of","the","Select","combinator","."]
code: def forward(self, inputs):
      if not isinstance(inputs, (tuple, list)):
          inputs = (inputs,)
      selected = tuple(inputs[i] for i in self._indices)
      return selected[0] if len(selected) == 1 else selected
  
imports: from absl import logging
  import jax
  from trax import fastmath
  from trax.layers import base
  from trax.layers import combinators
label_desc: Use image node_id 2 for calling the ReversibleSelect obj's underlying member method code with example usage: obj.forward(inputs) and returns: unknown