parameters: (x, ord=None, axis=None)
return_statement: return np.sqrt(r)
docstring: This version of norm is not fully compliant with the NumPy version,
      it only supports computing 2-norm of a vector.
docstring_summary: This version of norm is not fully compliant with the NumPy version,
      it only supports computing 2-norm of a vector.
docstring_tokens: This version of norm is not fully compliant with the NumPy version it only supports computing 2 - norm of a vector .
function: def norm(x, ord=None, axis=None):
      """
      This version of norm is not fully compliant with the NumPy version,
      it only supports computing 2-norm of a vector.
      """
  
      if ord != None:
          raise NotImplementedError("Unsupported value param ord=%s" % ord)
      if axis != None:
          raise NotImplementedError("Unsupported value of param ord=%s" % axis)
  
      r = np.sum(x * x)
      if issubclass(np.dtype(r.dtype).type, np.integer):
          r_f32 = np.empty(r.shape, dtype=np.float32)
          r_f32[:] = r
          r = r_f32
      return np.sqrt(r)
function_tokens: def norm ( x , ord = None , axis = None ) : if ord != None : raise NotImplementedError ( "Unsupported value param ord=%s" % ord ) if axis != None : raise NotImplementedError ( "Unsupported value of param ord=%s" % axis ) r = np . sum ( x * x ) if issubclass ( np . dtype ( r . dtype ) . type , np . integer ) : r_f32 = np . empty ( r . shape , dtype = np . float32 ) r_f32 [ : ] = r r = r_f32 return np . sqrt ( r )