code: def ravel(x):
      """
      Returns a contiguous flattened view of :code:`x`.
  
      :param x: the input tensor
      :type x: Block
      """
      return core.view(x, [x.numel])
  
imports: from __future__ import annotations
  from ..runtime.jit import jit
  from .None import core, math
label_desc: Use image node_id 4 for calling a global function with example usage: ravel(x) and returns: core