GstAnalytics.TensorMeta¶
Fields¶
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
meta  | 
r/w  | 
parent  | 
|
num_tensors  | 
r/w  | 
number of tensors  | 
|
tensors  | 
r/w  | 
Methods¶
  | 
|
  | 
|
  | 
Details¶
- class GstAnalytics.TensorMeta¶
 New in version 1.26.
- get(index)¶
 - Parameters:
 index (
int) – The number of the tensor to get- Returns:
 - Return type:
 
Retrieves a tensor from the
GstAnalytics.TensorMeta, the index must be smaller than GstAnalytics.TensorMeta.num_tensorsNew in version 1.26.
- get_index_from_id(id)¶
 - Parameters:
 id (
int) – The tensor id to look for- Returns:
 The index of the tensor inthe meta, or -1 if its not found.
- Return type:
 
Finds the first tensor with the requsted ID in the meta
New in version 1.26.
- set(tensors)¶
 - Parameters:
 tensors ([
GstAnalytics.Tensor]) – An array of poiners toGstAnalytics.Tensor
Sets tensors into the
GstAnalytics.TensorMetaNew in version 1.26.