GetBuffer
Function Usage
This is a protected member function that obtains the pointer of the specified index in the input tensor.
Prototype
1 | void* PostProcessBase::GetBuffer(const TensorBase& tensor, uint32_t index) const; |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensor |
Input |
Input tensor. |
index |
Input |
Tensor index to be obtained. |
Response Parameters
Data Structure |
Description |
|---|---|
void* |
Pointer of the specified index in the input tensor. |
Parent topic: PostProcessBase