code: def _crop_convert_error(msg: str) -> str:
      msg = msg.replace("\\n", "\n").replace("\\t", "\t")
  
      tflite_msg = (
          "Some ops are not supported by the native TFLite runtime"
      )
      if tflite_msg in msg:
          # Filters out only the missing ops.
          missing_ops = msg.split("\nDetails:\n")[1].split("\n\n")[0]
          return tflite_msg + "\n" + missing_ops
  
      tfjs_msg = "Some ops in the model are custom ops"
      if tfjs_msg in msg:
          return msg[msg.index(tfjs_msg) :]
  
      return msg
  
file_path: jax/jax/experimental/jax2tf/tests/models_test_main.py
imports: from collections.abc import Sequence
  import datetime
  import functools
  import numpy
  import os
  import re
  import jax
  from absl import app
  from absl import flags
  from jax._src import dtypes
  import tensorflow
  from jax.core import InconclusiveDimensionOperation
  from jax.experimental.jax2tf.tests.model_harness import ALL_HARNESSES
  from jax.experimental.jax2tf.tests.converters import ALL_CONVERTERS
label_desc: Use image node_id 2 for calling a global function with example usage: _crop_convert_error(msg) and returns: msg, unknown, msg