GstAnalytics.TensorMtd¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
id |
r/w |
Instance identifier |
|
meta |
r/w |
Instance of |
Methods¶
class |
|
|
Details¶
- class GstAnalytics.TensorMtd¶
This type of metadata holds a tensor. It can be used to store tensor as analytics-meta for their ability to relate to each others. For example in a multi-model analytics pipeline, we sometime have one model input match the output of the other model. In this context it can be useful to keep the ancestry relation between first tensor, output of first inference, and the second tensor, output from second inference. Another use-case for
GstAnalytics.TensorMtdis to transport tensors from inference element to a post-processing element using a computing graph framework, like ONNX. EssentiallyGstAnalytics.TensorMtdis aGst.Bufferencapsulated by a analytics-meta with additional parameters describing the tensor.Since 1.28
New in version 1.28.
- classmethod get_mtd_type()¶
- Returns:
Opaque id of the
GstAnalytics.Mtdtype- Return type:
Get an id that represent tensor metadata type
New in version 1.28.
- get_tensor()¶
- Returns:
- Return type:
Get tensor
New in version 1.28.