OH_AI_ShapeInfo

Overview

Defines dimension information. The maximum dimension is set by MS_MAX_SHAPE_NUM.

Related Modules:

MindSpore

Summary

Member Variables

Name Description
shape_num size_t
Dimension array length
shape [OH_AI_MAX_SHAPE_NUM] Dimension array

Member Variable Description

shape

int64_t OH_AI_ShapeInfo::shape[OH_AI_MAX_SHAPE_NUM]

Description
Dimension array

shape_num

size_t OH_AI_ShapeInfo::shape_num

Description
Dimension array length