Transform Struct
Discriminated union of all per-stage transform specs. More...
Declaration
struct simaai::neat::Transform { ... }
Included Headers
#include <PreprocessPlan.h>
Public Member Attributes Index
| TransformType | type = TransformType::Resize |
|
Which spec field is active. More... | |
| ResizeSpec | resize |
|
Active when type == Resize. More... | |
| ColorConvertSpec | color_convert |
|
Active when type == ColorConvert. More... | |
| LayoutConvertSpec | layout_convert |
|
Active when type == LayoutConvert. More... | |
| NormalizeSpec | normalize |
|
Active when type == Normalize. More... | |
| QuantizeSpec | quantize |
|
Active when type == Quantize. More... | |
| TessellateSpec | tessellate |
|
Active when type == Tessellate. More... | |
Description
Discriminated union of all per-stage transform specs.
Used inside PreprocessOptions::transforms to express an ordered list of explicit transformations (overrides the auto-planner). Read the field that corresponds to type.
Definition at line 214 of file PreprocessPlan.h.