OutputTensorOptions Struct
Options for Session::add_output_tensor() — the tensor-friendly output helper. More...
Declaration
Included Headers
Public Member Attributes Index
| FormatSpec | format = FormatTag::RGB |
|
Target pixel/data format (RGB, NV12, FP32, etc.). More... | |
| TensorDType | dtype = TensorDType::UInt8 |
|
Target dtype. More... | |
| int | target_width = -1 |
|
Target output width in pixels (-1 = no resize). More... | |
| int | target_height = -1 |
|
Target output height in pixels (-1 = no resize). More... | |
| int | target_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
|
Target dtype.
Definition at line 322 of file SessionOptions.h.
format
|
Target pixel/data format (RGB, NV12, FP32, etc.).
Definition at line 321 of file SessionOptions.h.
target_fps
|
Target output frame rate (-1 = no rate change).
Definition at line 326 of file SessionOptions.h.
target_height
|
Target output height in pixels (-1 = no resize).
Definition at line 325 of file SessionOptions.h.
target_width
|
Target output width in pixels (-1 = no resize).
Definition at line 324 of file SessionOptions.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.