How I tile a single channel map to multichannel?

I want to tile a single channel map to multi-channel map, and map in each channel is equal to the original map, how I realize this?

Any suggestion is appreciated. Thank you!!!

Do you just want to repeat the channel?

batch_size, c, h, w = 1, 1, 10, 10
x = torch.randn(batch_size, c, h, w)
x = x.repeat(1, 3, 1, 1)
print(x.shape)

Thank you!! That is what I want.