# RGB tensor to YDbDr

Is there a way to convert a RGB tensor to YDbDr? I’m assuming maybe not. This seems like a basic question but I never verified that indexes representing the channels in in the tensor correspond to a color like: 0, 1, 2 = R, G, B, because if so then I should be able to take a tensor of Batch x RGB x Height x Width and use the equation in the wikipedia article.