code: def get_select_channels(channels):
      """Returns function to select specified channels."""
  
      def _select_channels(image):
          """Returns a subset of available channels."""
          return tf.gather(image, channels, axis=-1)
  
      return _select_channels
  
imports: from typing import Optional, Tuple
  import numpy
  from scenic.dataset_lib.big_transfer.preprocessing import autoaugment
  from scenic.dataset_lib.big_transfer.preprocessing import utils
  from scenic.dataset_lib.big_transfer.registry import Registry
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_addons import image
label_desc: Use image node_id 28 for calling a global function with example usage: get_select_channels(channels) and returns: _select_channels, tf