본문으로 건너뛰기

OutputTensorOptions Struct

Options for Graph::add_output_tensor() — the tensor-friendly output helper. More...

Declaration​

struct simaai::neat::OutputTensorOptions { ... }

Included Headers​

#include <GraphOptions.h>

Public Member Attributes Index​

FormatSpecformat = FormatTag::RGB

Target pixel/data format (RGB, NV12, FP32, etc.). More...

TensorDTypedtype = TensorDType::UInt8

Target dtype. More...

inttarget_width = -1

Target output width in pixels (-1 = no resize). More...

inttarget_height = -1

Target output height in pixels (-1 = no resize). More...

inttarget_fps = -1

Target output frame rate (-1 = no rate change). More...

Description​

Options for Graph::add_output_tensor() — the tensor-friendly output helper.

Specifies the target format/dtype/dimensions for the output tensor; the framework auto- inserts videoconvert/videoscale/capsfilter as needed.

Definition at line 447 of file GraphOptions.h.

Public Member Attributes​

dtype​

TensorDType simaai::neat::OutputTensorOptions::dtype = TensorDType::UInt8

Target dtype.

Definition at line 449 of file GraphOptions.h.

format​

FormatSpec simaai::neat::OutputTensorOptions::format = FormatTag::RGB

Target pixel/data format (RGB, NV12, FP32, etc.).

Definition at line 448 of file GraphOptions.h.

target_fps​

int simaai::neat::OutputTensorOptions::target_fps = -1

Target output frame rate (-1 = no rate change).

Definition at line 453 of file GraphOptions.h.

target_height​

int simaai::neat::OutputTensorOptions::target_height = -1

Target output height in pixels (-1 = no resize).

Definition at line 452 of file GraphOptions.h.

target_width​

int simaai::neat::OutputTensorOptions::target_width = -1

Target output width in pixels (-1 = no resize).

Definition at line 451 of file GraphOptions.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.