nnAudio.utils.broadcast_dim

nnAudio.utils.broadcast_dim(x)

Auto broadcast input so that it can fits into a Conv1d