code: def softmax(seq, name=""):
      """
      Computes the softmax of the input across the sequence axis.
  
      Args:
          seq: sequence input tensor
          name (`str`, optional): the name of the Function instance in the network
  
      Returns:
          :class:`~cntk.ops.functions.Function`
      """
      from cntk.cntk_py import sequence_softmax
  
      seq = sanitize_input(seq, get_data_type(seq))
      return sequence_softmax(seq, name)
  
imports: import numpy
  from cntk.internal import typemap, sanitize_input
  from cntk.internal.utils import get_data_type
  from ...axis import Axis
  from ...default_options import default_override_or
label_desc: Use image node_id 18 for calling a global function with example usage: softmax(seq, name) and returns: sequence_softmax