Transform image to byte tensor in `c*h*w` dim order.

image2tensor(img)

Arguments

img

image

Value

None