Texture2D to Tensor with channel 3

Hello,
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?

Thanks.

Yes!
I’ll refer you to
Samples\Convert tensors to textures
https://docs.unity3d.com/Packages/com.unity.sentis@1.2/manual/convert-texture-to-tensor.html
for more details