Transform image to float tensor, optionally dividing by 255 (e.g. for images).

IntToFloatTensor(div = 255, div_mask = 1)

Arguments

div

divide value

div_mask

divide mask

Value

None