目录

Constructor

Function Description

Constructs an object of class Shape.

Function Prototype

In the following, dim_num_ indicates the number of dimensions, and dims_ indicates the specific shape.

Parameters

Parameter Input/Output Description
args Input All dimension values of the shape.
other Input Source shape object.

Return Value

Generated initialized Shape object.

Restrictions

None

Calling Example

Shape shape({3, 256, 256}); // The first three dimensions of dims_ with dim_num_= 3 are 3, 256, and 256.