code: def _rank_broadcasting_error_pattern(left_rank, right_rank, op=None):
      ans = (
          r"Broadcast between \[([0-9]*,){"
          + str(left_rank - 1)
          + r",}[0-9]*\] "
          r"and \[([0-9]*,){" + str(right_rank - 1) + r",}[0-9]*\] "
          r"is not supported yet"
      )
      if op is not None:
          ans += r". \[" + op + r"\]"
      return ans
  
imports: import contextlib
  import os
  import re
  import traceback
  import unittest
  import hypothesis
  from hypothesis.extra import numpy
  import hypothesis.strategies
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.util.deferred_tensor import DeferredTensor
label_desc: Use image node_id 28 for calling a global function with example usage: _rank_broadcasting_error_pattern(left_rank, right_rank, op) and returns: ans