GetShape

Function Usage

Obtains the shape data of a tensor.

Prototype

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

Response Parameters

Data Structure

Description

std::vector<uint32_t>

Shape data of a tensor.