GetShape

Function Usage

Obtains the tensor shape.

Prototype

1
std::vector<uint32_t> TensorBase::GetShape() const;

Response Parameters

Data Structure

Description

std::vector<uint32_t>

Shape array.