How does scale=True work in new v2 transforms?

Mostly title, but, say in torchvision.transforms v2.ToDtype(torch.float32, scale=True) how exactly does scale=True scale the values? Min-max scaling? or something else.

It scales the values based on the range of the data type. For example torch.float32 data type tensor, the values are scaled to the range [0.0, 1.0]