code: def bias_add(x, bias, data_format=None):
      if data_format is None:
          data_format = "channels_last"
      bias_shape = bias.shape
      if len(bias_shape) == 1:
          if data_format == "channels_first":
              return tf_frontend.nn.bias_add(
                  x, bias, data_format="NC..."
              )
          return tf_frontend.nn.bias_add(x, bias, data_format="N...C")
      if x.ndim in (3, 4, 5):
          if data_format == "channels_first":
              bias_reshape_axis = (1, bias_shape[-1]) + bias_shape[:-1]
              return x + tf_frontend.reshape(bias, bias_reshape_axis)
          return x + tf_frontend.reshape(bias, (1,) + bias_shape)
      return tf_frontend.nn.bias_add(x, bias)
  
imports: import functools
  import ivy
  import ivy.functional.frontends.tensorflow
  from ivy.functional.frontends.tensorflow.func_wrapper import _ivy_array_to_tensorflow, _to_ivy_array, to_ivy_arrays_and_back
label_desc: Use image node_id 1 for calling a global function with example usage: bias_add(x, bias, data_format) and returns: tf_frontend, tf_frontend, unknown, tf_frontend, unknown