Shape Constructor and Destructor
Description
Constructs or destructs an object of class Shape.
Prototype
1 2 3 | Shape() ~Shape() = default explicit Shape(const std::vector<int64_t> &dims) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
dims |
Input |
Value of Shape. Shape indicates the dimensions of a tensor. std::vector<int64_t> indicates each dimension. |
Returns
A Shape object.
Troubleshooting
None
Constraints
None
Parent topic: Shape