examples/train_tnbc.py
def img_denormaliser(max_range_value=1, max_range_scaling_factor=2, max_range_offset=-1):
        """Returns the de-normaliser function for the input data"""

        def _denorm(data):
            return data - max_range_offset * max_range_value / max_range_scaling_factor

        return _denorm
Returns the de-normaliser function for the input data
Returns the de-normaliser function for the input data
Returns the de - normaliser function for the input data
def img_denormaliser(max_range_value=1, max_range_scaling_factor=2, max_range_offset=-1):
        def _denorm(data):
            return data - max_range_offset * max_range_value / max_range_scaling_factor
        return _denorm
def img_denormaliser ( max_range_value = 1 , max_range_scaling_factor = 2 , max_range_offset = - 1 ) : def _denorm ( data ) : return data - max_range_offset * max_range_value / max_range_scaling_factor return _denorm
Returns the de-normaliser function for the input data
Returns the de - normaliser function for the input data
"""Returns the de-normaliser function for the input data"""
max_range_value
max_range_scaling_factor
max_range_offset