GetSize

Function Usage

Obtains the memory size corresponding to the tensor data.

The size must be the same as the actual memory size. Otherwise, a core dump may occur.

Prototype

size_t GetSize() const;

Return Parameter Description

Data Structure

Description

size_t

Returns a specific value.