blace.ai
|
#include <public_ops.h>
Public Member Functions | |
ToColorOp (OpP input, ml_core::ColorFormatEnum color_format) | |
ToColorOp (OpP input, ml_core::ColorFormatEnum color_format, ml_core::LAB_NORMS lab_norms) | |
Converts a tensor from one color format into another.
blace::ops::ToColorOp::ToColorOp | ( | OpP | input, |
ml_core::ColorFormatEnum | color_format | ||
) |
Constructs an operator which converts a tensor from one color format into another.
input | The input node. |
color_format | The new color format. |
blace::ops::ToColorOp::ToColorOp | ( | OpP | input, |
ml_core::ColorFormatEnum | color_format, | ||
ml_core::LAB_NORMS | lab_norms | ||
) |
Constructs an operator which converts a tensor from one color format into another.
input | The input node. |
color_format | The new color format. |
lab_norms | Lab norms. |