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