layer: dtype_to_range: Special case for bool dtype