sima_ev_preproc_config_v1 Struct
Preproc op config: 1 input image, 1 output tensor, plus crop/resize/normalize. More...
Declaration
Included Headers
Public Member Attributes Index
| struct { ... } | hdr |
|
ABI header (op type, version, IO arity). More... | |
| struct { ... } | input |
|
Input image tensor descriptor. More... | |
| struct { ... } | output |
|
Output tensor descriptor. More... | |
| struct { ... } | crop |
|
Crop ROI in input pixels. More... | |
| int32_t | resize_width |
|
Output width (post-crop, post-resize), in pixels. More... | |
| int32_t | resize_height |
|
Output height, in pixels. More... | |
| uint32_t | color_in |
|
Input color/format (op-specific encoding). More... | |
| uint32_t | color_out |
|
Output color/format (op-specific encoding). More... | |
| float | normalize_scale[4] |
|
Per-channel scale for output normalization. More... | |
| float | normalize_bias[4] |
|
Per-channel bias for output normalization. More... | |
Description
Preproc op config: 1 input image, 1 output tensor, plus crop/resize/normalize.
Preproc is intentionally kept as a small per-op wrapper over the shared tensor descriptors rather than forcing all kernels into a single giant transform struct.
Definition at line 312 of file EvTensorAbi.h.
Public Member Attributes
color_in
|
Input color/format (op-specific encoding).
Definition at line 319 of file EvTensorAbi.h.
color_out
|
Output color/format (op-specific encoding).
Definition at line 320 of file EvTensorAbi.h.
crop
|
Crop ROI in input pixels.
Definition at line 316 of file EvTensorAbi.h.
hdr
|
ABI header (op type, version, IO arity).
Definition at line 313 of file EvTensorAbi.h.
input
|
Input image tensor descriptor.
Definition at line 314 of file EvTensorAbi.h.
normalize_bias
|
Per-channel bias for output normalization.
Definition at line 322 of file EvTensorAbi.h.
normalize_scale
|
Per-channel scale for output normalization.
Definition at line 321 of file EvTensorAbi.h.
output
|
Output tensor descriptor.
Definition at line 315 of file EvTensorAbi.h.
resize_height
|
resize_width
|
Output width (post-crop, post-resize), in pixels.
Definition at line 317 of file EvTensorAbi.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.