• 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**Related Modules:**
9
10[MindSpore](_mind_spore.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name | Description |
19| -------- | -------- |
20| [shape_num](#shape_num) | size_t<br/>Dimension array length  |
21| [shape](#shape) [[OH_AI_MAX_SHAPE_NUM](_mind_spore.md#oh_ai_max_shape_num)] | Dimension array  |
22
23
24## Member Variable Description
25
26
27### shape
28
29
30```
31int64_t OH_AI_ShapeInfo::shape[OH_AI_MAX_SHAPE_NUM]
32```
33**Description**<br>
34Dimension array
35
36
37### shape_num
38
39
40```
41size_t OH_AI_ShapeInfo::shape_num
42```
43**Description**<br>
44Dimension array length
45