Home
last modified time | relevance | path

Searched refs:one_minus_s (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dimage_ops.cc88 auto one_minus_s = xla::Sub(one, saturation); in HSVToRGB() local
90 auto red = xla::Mul(xla::Add(one_minus_s, xla::Mul(saturation, dr)), value); in HSVToRGB()
91 auto green = xla::Mul(xla::Add(one_minus_s, xla::Mul(saturation, dg)), value); in HSVToRGB()
92 auto blue = xla::Mul(xla::Add(one_minus_s, xla::Mul(saturation, db)), value); in HSVToRGB()