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. |
Parent topic: Tensor
Obtains the shape data of a tensor.
1 | std::vector<uint32_t> Tensor::GetShape() const; |
Data Structure |
Description |
|---|---|
std::vector<uint32_t> |
Shape data of a tensor. |