MCPcopy Create free account
hub / github.com/NVIDIA/semantic-segmentation / __init__

Method __init__

transforms/transforms.py:310–314  ·  view source on GitHub ↗
(self, brightness=0, contrast=0, saturation=0, hue=0)

Source from the content-addressed store, hash-verified

308 [-hue, hue]. Should be >=0 and <= 0.5.
309 """
310 def __init__(self, brightness=0, contrast=0, saturation=0, hue=0):
311 self.brightness = brightness
312 self.contrast = contrast
313 self.saturation = saturation
314 self.hue = hue
315
316 @staticmethod
317 def get_params(brightness, contrast, saturation, hue):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected