code: def lattice_sequence_with_softmax(
      label,
      prediction,
      loglikelihood,
      lattice,
      symListPath,
      phonePath,
      stateListPath,
      transProbPath,
      latticeConfigPath="LatticeNode.config",
      hSmoothingWeight=0.95,
      frameDropThresh=1e-10,
      doReferenceAlign=False,
      seqGammarUsesMBR=False,
      seqGammarAMF=14.0,
      seqGammarLMF=14.0,
      seqGammarBMMIFactor=0.0,
      seqGammarWordPen=0.0,
      name="",
  ):
      from cntk.cntk_py import lattice_sequence_with_softmax
  
      dtype = get_data_type(label, prediction, loglikelihood, lattice)
      label = sanitize_input(label, dtype)
      prediction = sanitize_input(prediction, dtype)
      loglikelihood = sanitize_input(loglikelihood, dtype)
      lattice = sanitize_input(lattice, dtype)
      return lattice_sequence_with_softmax(
          label,
          prediction,
          loglikelihood,
          lattice,
          symListPath,
          phonePath,
          stateListPath,
          transProbPath,
          latticeConfigPath,
          hSmoothingWeight,
          frameDropThresh,
          doReferenceAlign,
          seqGammarUsesMBR,
          seqGammarAMF,
          seqGammarLMF,
          seqGammarBMMIFactor,
          seqGammarWordPen,
          name,
      )
  
imports: from __future__ import division
  from __future__ import print_function
  import numpy
  from ..ops.functions import CloneMethod, Function
  from ..variables import Variable, Parameter, Constant
  from cntk.internal import sanitize_input, sanitize_shape, sanitize_axis, sanitize_dynamic_axes, typemap
  from cntk.internal.utils import get_data_type
  from cntk.cntk_py import sentinel_value_for_auto_select_random_seed
  from cntk import times, softmax, parameter
  import cntk
  from ..axis import Axis
label_desc: Use image node_id 9 for calling a global function with example usage: lattice_sequence_with_softmax(label, prediction, loglikelihood, lattice, symListPath, phonePath, stateListPath, transProbPath, latticeConfigPath, hSmoothingWeight, frameDropThresh, doReferenceAlign, seqGammarUsesMBR, seqGammarAMF, seqGammarLMF, seqGammarBMMIFactor, seqGammarWordPen, name) and returns: lattice_sequence_with_softmax