sagemaker-voice-classification/notebook/coswara_dataset.py [55:60]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            tempData = torch.zeros([1, const_len])
            if waveform.shape[1] < const_len:
                tempData[0, : waveform.shape[1]] = waveform[:]
            else:
                tempData[0, :] = waveform[0, :const_len]
            sound = tempData
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sagemaker-voice-classification/notebook/inference.py [75:80]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        tempData = torch.zeros([1, const_len])
        if waveform.shape[1] < const_len:
            tempData[0, : waveform.shape[1]] = waveform[:]
        else:
            tempData[0, :] = waveform[0, :const_len]
        sound = tempData
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



