Divide all elements in the tensor by the given value.