Sorry if I messed up the title, I didn\'t know how to phrase this. Anyways, I have a tensor of a set of values, but I want to make sure that every element in the tensor has a ra
sigmoid(tensor) * 255 should do it.
sigmoid(tensor) * 255