code: def reshape(
      inputs: tf.Tensor,
      output_shape: types.ShapeLike,
      preserve_dims: int = 1,
      name: Optional[str] = None,
  ) -> tf.Tensor:
      """A shortcut for applying :class:`Reshape` to the ``inputs``."""
      return Reshape(output_shape, preserve_dims, name=name)(inputs)
  
file_path: sonnet/sonnet/src/reshape.py
imports: from typing import Optional, Sequence
  import numpy
  from sonnet.src import base
  from sonnet.src import once
  from sonnet.src import types
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: reshape(inputs, output_shape, preserve_dims, name) and returns: Reshape