docstr: Tests that unsupported operations are detected.
code: def test_report_unsupported_operations_graph_mode(self):
      """Tests that unsupported operations are detected."""
      context = self.create_test_xla_compile_context()
      context.Enter()
      dummy_tensor = constant_op.constant(1.1)
      audio_summary = summary.audio("audio_summary", dummy_tensor, 0.5)
      histogram_summary = summary.histogram(
          "histogram_summary", dummy_tensor
      )
      image_summary = summary.image("image_summary", dummy_tensor)
      scalar_summary = summary.scalar("scalar_summary", dummy_tensor)
      tensor_summary = summary.tensor_summary(
          "tensor_summary", dummy_tensor
      )
      summary.merge(
          [
              audio_summary,
              histogram_summary,
              image_summary,
              scalar_summary,
              tensor_summary,
          ],
          name="merge_summary",
      )
      logging_ops.Print(dummy_tensor, [dummy_tensor], name="print_op")
      context.Exit()
  
      unsupported_ops_names = [
          op.name for op in context._unsupported_ops
      ]
      self.assertEqual(
          unsupported_ops_names,
          [
              "audio_summary",
              "histogram_summary",
              "image_summary",
              "scalar_summary",
              "tensor_summary",
              "merge_summary/merge_summary",
              "print_op",
          ],
      )
  
imports: from absl.testing import parameterized
  from tensorflow.python import summary
  from tensorflow.python.compiler.xla import xla
  from tensorflow.python.eager import def_function
  from tensorflow.python.estimator import model_fn
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import control_flow_util
  from tensorflow.python.ops import logging_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import test
  from tensorflow.python.tpu import tpu_feed
label_desc: Use image node_id 2 for calling the XLACompileContextTest obj's underlying member method code with example usage: obj.test_report_unsupported_operations_graph_mode() without return types