NvDsInferTensorMeta¶
- class pyds.NvDsInferTensorMeta¶
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.
- Variables:
unique_id – int, Unique ID of the gst-nvinfer instance which attached this meta.
num_output_layers – int, Number of bound output layers.
out_buf_ptrs_host – Array of output host buffers for the frame / object.
out_buf_ptrs_dev – Array of output device buffers for the frame / object.
gpu_id – int, GPU device ID on which the device buffers have been allocated.
priv_data – Private data used for the meta producer’s internal memory management.
- cast(*args, **kwargs)¶
Overloaded function.
cast(self: capsule) -> pyds.NvDsInferTensorMeta
cast given object/data to
NvDsInferTensorMeta
, call pyds.NvDsInferTensorMeta.cast(data)cast(self: int) -> pyds.NvDsInferTensorMeta
cast given object/data to
NvDsInferTensorMeta
, call pyds.NvDsInferTensorMeta.cast(data)
- output_layers_info(self: pyds.NvDsInferTensorMeta, j: int) pyds.NvDsInferLayerInfo ¶
Retrieve the
NvDsInferLayerInfo
object of layer at index j.