Normalize a mask to the 0-1 range.
The mask to normalize
The output shape of the model
The normalized mask
Normalize a mask to the 0-1 range.