Skip to main content

sima_ev_preproc_config_v1 Struct

Preproc op config: 1 input image, 1 output tensor, plus crop/resize/normalize. More...

Declaration

struct sima_ev_preproc_config_v1 { ... }

Included Headers

#include <EvTensorAbi.h>

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_tresize_width

Output width (post-crop, post-resize), in pixels. More...

int32_tresize_height

Output height, in pixels. More...

uint32_tcolor_in

Input color/format (op-specific encoding). More...

uint32_tcolor_out

Output color/format (op-specific encoding). More...

floatnormalize_scale[4]

Per-channel scale for output normalization. More...

floatnormalize_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

uint32_t sima_ev_preproc_config_v1::color_in

Input color/format (op-specific encoding).

Definition at line 319 of file EvTensorAbi.h.

319 uint32_t color_in;

color_out

uint32_t sima_ev_preproc_config_v1::color_out

Output color/format (op-specific encoding).

Definition at line 320 of file EvTensorAbi.h.

320 uint32_t color_out;

crop

struct sima_ev_roi_v1 sima_ev_preproc_config_v1::crop

Crop ROI in input pixels.

Definition at line 316 of file EvTensorAbi.h.

hdr

struct sima_ev_abi_header sima_ev_preproc_config_v1::hdr

ABI header (op type, version, IO arity).

Definition at line 313 of file EvTensorAbi.h.

input

struct sima_ev_tensor_desc sima_ev_preproc_config_v1::input

Input image tensor descriptor.

Definition at line 314 of file EvTensorAbi.h.

normalize_bias

float sima_ev_preproc_config_v1::normalize_bias[4]

Per-channel bias for output normalization.

Definition at line 322 of file EvTensorAbi.h.

322 float normalize_bias[4];

normalize_scale

float sima_ev_preproc_config_v1::normalize_scale[4]

Per-channel scale for output normalization.

Definition at line 321 of file EvTensorAbi.h.

321 float normalize_scale[4];

output

struct sima_ev_tensor_desc sima_ev_preproc_config_v1::output

Output tensor descriptor.

Definition at line 315 of file EvTensorAbi.h.

resize_height

int32_t sima_ev_preproc_config_v1::resize_height

Output height, in pixels.

Definition at line 318 of file EvTensorAbi.h.

318 int32_t resize_height;

resize_width

int32_t sima_ev_preproc_config_v1::resize_width

Output width (post-crop, post-resize), in pixels.

Definition at line 317 of file EvTensorAbi.h.

317 int32_t resize_width;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.