code: def qr(x, mode="reduced"):
      if mode not in {"reduced", "complete"}:
          raise ValueError(
              "`mode` argument value not supported. "
              "Expected one of {'reduced', 'complete'}. "
              f"Received: mode={mode}"
          )
      if mode == "reduced":
          return tf.linalg.qr(x)
      return tf.linalg.qr(x, full_matrices=True)
  
file_path: keras/keras/backend/tensorflow/math.py
imports: import tensorflow
  from keras.backend import standardize_dtype
  from keras.backend.tensorflow.core import convert_to_tensor
label_desc: Use image node_id 6 for calling a global function with example usage: qr(x, mode) and returns: tf, tf