I’m not familiar with your use case, but you could reshape the output of your linear layer before feeding it to the nn.ConvTranpose1d layer or just add a dummy channel dimension using:
output = output.unsqueeze(1)

Based on the number of input channels in co1, it seems the dummy channel dimension is probably what you want.