Searched refs:to_rgb (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/ |
D | dataset.py | 138 def __init__(self, mean=(0, 0, 0), to_rgb=True, ratio_range=(1, 4)): argument 139 if to_rgb:
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/ |
D | pam.h | 109 inline static rgba_pixel to_rgb(const float gamma, const f_pixel px) in to_rgb() function
|
D | libimagequant.c | 1122 rgba_pixel px = to_rgb (gamma, map->palette[x].acolor); in set_rounded_palette()
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | py_transforms_util.py | 1376 to_rgb = np.vectorize(colorsys.hsv_to_rgb) 1377 r, g, b = to_rgb(h, s, v)
|