Transform image to float tensor, optionally dividing by 255 (e.g. for images).
IntToFloatTensor(div = 255, div_mask = 1)
div
divide value
div_mask
divide mask
None