I have the following code for converting a Texture into a Tensor
var transform = new TextureTransform();
transform.SetDimensions(size, size, 3);
TensorFloat image = TextureConverter.ToTensor(source, transform);
Output tensor is of the size (1 ,3, 640, 640)
I want to remove the initial dimension and get a (3, 640,640,) tensor.
How can I achieve that?