code: def _norm(x):
      return tnp.sqrt(tnp.sum(x**2, axis=-1, keepdims=True))
  
imports: from typing import Tuple, Optional
  import tensorflow
  from tensorflow.experimental import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _norm(x) and returns: tnp