nemo/collections/asr/data_layer.py
def output_ports(self):
        """Returns definitions of module output ports.
        """
        return {
            # 'audio_signal': NeuralType({0: AxisType(BatchTag), 1: AxisType(TimeTag)}),
            # 'a_sig_length': NeuralType({0: AxisType(BatchTag)}),
            # 'transcripts': NeuralType({0: AxisType(BatchTag), 1: AxisType(TimeTag)}),
            # 'transcript_length': NeuralType({0: AxisType(BatchTag)}),
            'audio_signal': NeuralType(
                ('B', 'T'),
                AudioSignal(freq=self._sample_rate)
                if self is not None and self._sample_rate is not None
                else AudioSignal(),
            ),
            'a_sig_length': NeuralType(tuple('B'), LengthsType()),
            'transcripts': NeuralType(('B', 'T'), LabelsType()),
            'transcript_length': NeuralType(tuple('B'), LengthsType()),
        }
Returns definitions of module output ports.
        
Returns definitions of module output ports.
Returns definitions of module output ports .
def output_ports(self):
        return {
            'audio_signal': NeuralType(
                ('B', 'T'),
                AudioSignal(freq=self._sample_rate)
                if self is not None and self._sample_rate is not None
                else AudioSignal(),
            ),
            'a_sig_length': NeuralType(tuple('B'), LengthsType()),
            'transcripts': NeuralType(('B', 'T'), LabelsType()),
            'transcript_length': NeuralType(tuple('B'), LengthsType()),
        }
def output_ports ( self ) : return { 'audio_signal' : NeuralType ( ( 'B' , 'T' ) , AudioSignal ( freq = self . _sample_rate ) if self is not None and self . _sample_rate is not None else AudioSignal ( ) , ) , 'a_sig_length' : NeuralType ( tuple ( 'B' ) , LengthsType ( ) ) , 'transcripts' : NeuralType ( ( 'B' , 'T' ) , LabelsType ( ) ) , 'transcript_length' : NeuralType ( tuple ( 'B' ) , LengthsType ( ) ) , }
Returns definitions of module output ports.
Returns definitions of module output ports .
"""Returns definitions of module output ports.
        """ # 'audio_signal': NeuralType({0: AxisType(BatchTag), 1: AxisType(TimeTag)}), # 'a_sig_length': NeuralType({0: AxisType(BatchTag)}), # 'transcripts': NeuralType({0: AxisType(BatchTag), 1: AxisType(TimeTag)}), # 'transcript_length': NeuralType({0: AxisType(BatchTag)}),
self