def reduce_max(seq, name=''): ''' Computes the max of the input sequence's elements 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_reduce_max seq = sanitize_input(seq, get_data_type(seq)) return sequence_reduce_max(seq, name)
def reduce_max(seq, name=''): ''' Computes the max of the input sequence's elements 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_reduce_max seq = sanitize_input(seq, get_data_type(seq)) return sequence_reduce_max(seq, name)