MCPcopy Create free account
hub / github.com/UCSC-VLAA/OpenVision / hue_foo

Function hue_foo

src/transforms/simclr_aug.py:160–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 x, lower=1 - saturation, upper=1 + saturation)
159
160 def hue_foo():
161 if hue == 0:
162 return x
163 else:
164 return tf.image.random_hue(x, max_delta=hue)
165 x = tf.cond(
166 tf.less(
167 i, 2), lambda: tf.cond(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected