Skip to main content

OutputTensorOptions Struct

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

Declaration

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

Included Headers

#include <SessionOptions.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 Session::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 320 of file SessionOptions.h.

Public Member Attributes

dtype

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

Target dtype.

Definition at line 322 of file SessionOptions.h.

format

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

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

Definition at line 321 of file SessionOptions.h.

target_fps

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

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

Definition at line 326 of file SessionOptions.h.

326 int target_fps = -1;

target_height

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

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

Definition at line 325 of file SessionOptions.h.

325 int target_height = -1;

target_width

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

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

Definition at line 324 of file SessionOptions.h.

324 int target_width = -1;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.