code: def ypbpr_to_rgb(input, name=None):
      """
      Convert a YPbPr image to RGB.
  
      Args:
        input: A 3-D (`[H, W, 3]`) or 4-D (`[N, H, W, 3]`) Tensor.
        name: A name for the operation (optional).
  
      Returns:
        A 3-D (`[H, W, 3]`) or 4-D (`[N, H, W, 3]`) Tensor.
      """
      input = tf.convert_to_tensor(input)
      assert input.dtype in (tf.float16, tf.float32, tf.float64)
  
      # inv of:
      # [[ 0.299   , 0.587   , 0.114   ],
      #  [-0.168736,-0.331264, 0.5     ],
      #  [ 0.5     ,-0.418688,-0.081312]]
      kernel = tf.constant(
          [
              [1.00000000e00, -1.21889419e-06, 1.40199959e00],
              [1.00000000e00, -3.44135678e-01, -7.14136156e-01],
              [1.00000000e00, 1.77200007e00, 4.06298063e-07],
          ],
          input.dtype,
      )
  
      return tf.tensordot(
          input, tf.transpose(kernel), axes=((-1,), (0,))
      )
  
imports: import tensorflow
label_desc: Use image node_id 8 for calling a global function with example usage: ypbpr_to_rgb(input, name) and returns: tf