• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_AI_ShapeInfo
2
3
4## Overview
5
6Defines dimension information. The maximum dimension is set by **MS_MAX_SHAPE_NUM**.
7
8**Since**
9
109
11
12**Related module**
13
14[MindSpore](_mind_spore.md)
15
16
17## Summary
18
19
20### Member Variables
21
22| Name| Description|
23| -------- | -------- |
24| [shape_num](#shape_num) | Dimension array length.|
25| [shape](#shape) [OH_AI_MAX_SHAPE_NUM] | Dimension array.|
26
27
28## Member Variable Description
29
30
31### shape
32
33
34```
35int64_t OH_AI_ShapeInfo::shape[OH_AI_MAX_SHAPE_NUM]
36```
37
38**Description**
39
40Dimension array.
41
42
43### shape_num
44
45
46```
47size_t OH_AI_ShapeInfo::shape_num
48```
49
50**Description**
51
52Dimension array length.
53