NvDsInferTensorMeta¶
-
class
pyds.
NvDsInferTensorMeta
(self: pyds.NvDsInferTensorMeta) → None¶ - Holds the raw tensor output information for one frame / one object. The “nvinfer” plugins adds this meta when the “output-tensor-meta” property of the element instance is set to TRUE.
This meta data is added as NvDsUserMeta to the frame_user_meta_list of the corresponding frame_meta or object_user_meta_list of the corresponding object with the meta_type set to NVDSINFER_TENSOR_OUTPUT_META.
-
cast
(*args, **kwargs)¶ Overloaded function.
cast(self: capsule) -> pyds.NvDsInferTensorMeta
cast given object/data to pyds.NvDsInferTensorMeta, call pyds.NvDsInferTensorMeta.cast(data)
cast(self: int) -> pyds.NvDsInferTensorMeta
cast given object/data to pyds.NvDsInferTensorMeta, call pyds.NvDsInferTensorMeta.cast(data)
-
property
gpu_id
¶ GPU device ID on which the device buffers have been allocated.
-
property
num_output_layers
¶ Number of bound output layers.
-
property
out_buf_ptrs_dev
¶ Array of pointers to the output device buffers for the frame / object..
-
property
out_buf_ptrs_host
¶ Array of pointers to the output host buffers for the frame / object.
-
output_layers_info
(self: pyds.NvDsInferTensorMeta, arg0: int) → pyds.NvDsInferLayerInfo¶ Pointer to the array containing information for the bound output layers. Size of the array will be equal to num_output_layers. Pointers inside the NvDsInferLayerInfo structure are not valid for this array..
-
property
priv_data
¶ Private data used for the meta producer’s internal memory management.
-
property
unique_id
¶ Unique ID of the gst-nvinfer instance which attached this meta.