code: def test_user_tf_ops_partial_filtered(self):
      target_spec = tf.lite.TargetSpec()
      target_spec.supported_ops = [
          tf.lite.OpsSet.TFLITE_BUILTINS,
          tf.lite.OpsSet.SELECT_TF_OPS,
      ]
      target_spec.experimental_select_user_tf_ops = [
          "DummySeedGenerator"
      ]
  
      @authoring.compatible(converter_target_spec=target_spec)
      @tf.function
      def f():
          dataset = tf.data.Dataset.range(3)
          dataset = dataset.shuffle(3, reshuffle_each_iteration=True)
          return dataset
  
      f()
      log_messages = f.get_compatibility_log()
      self.assertIn(
          "COMPATIBILITY ERROR: op 'tf.RangeDataset, tf.ShuffleDatasetV3' is(are) "
          "not natively supported by TensorFlow Lite. You need to provide a "
          "custom operator. https://www.tensorflow.org/lite/guide/ops_custom",
          log_messages,
      )
  
file_path: tensorflow/tensorflow/lite/python/authoring/authoring_test.py
imports: import tensorflow
  from tensorflow.lite.python.authoring import authoring
label_desc: Use image node_id 12 for calling the TFLiteAuthoringTest obj's underlying member method code with example usage: obj.test_user_tf_ops_partial_filtered() and returns: dataset