Creates a Tensor object from an existing p5.Image.
the image
Optional
(optional) the number of channels of the output tensor
the image as a tensor
Creates a Tensor object from an existing p5.Image.