目录

GetData

Function Description

Obtains the data of a tensor.

The data returned by const uint8_t* GetData() const cannot be modified, while the data returned by uint8_t* GetData() can be modified.

Function Prototype

const uint8_t *GetData() const;
uint8_t *GetData();

Parameters

None

Return Value

Type Description
const uint8_t Returns the data stored in the tensor.

Exception Handling

None

Restrictions

None