Texture2D to Tensor with channel 3

I have read another issues on this forum.

I want to make a tensor with 3 channel from Texture2D.
In the tutorial of Sentis, TextureConverter.ToTensor makes texture to tensor format.
However, this function makes a tensor with channel of 4.

Instead of this, if I make a tensor with TextureConverter.ToTensor(variable, channel:3), will the alpha channel is removed from it?


I’ll refer you to
Samples\Convert tensors to textures
for more details