GetBuffer

Function Usage

This is a protected member function that obtains the pointer of the specified index in the input tensor.

Prototype

 void* GetBuffer(const TensorBase& tensor, uint32_t index) const;

Parameter Description

Parameter

Input/Output

Description

tensors

Input

Input tensor

index

Input

Tensor index to be obtained

Return Parameter Description

Data Structure

Description

void*

Pointer of the specified index in the input tensor