code: def _norm_inf(x):
      """Evaluates inf-norm."""
      return tf.reduce_max(tf.abs(x), axis=-1)
  
file_path: tf-quant-finance/tf_quant_finance/math/optimizer/conjugate_gradient.py
imports: import collections
  from typing import Callable, Tuple
  import tensorflow.compat.v2
  from tensorflow_probability.python.optimizer import converged_all
  from tensorflow_probability.python.optimizer import linesearch
  from tf_quant_finance import types
  from tf_quant_finance import utils
label_desc: Use image node_id 6 for calling a global function with example usage: _norm_inf(x) and returns: tf