Shape维度信息。
struct Dims { int64_t dims[MAX_DIM]; uint64_t dimNum = 0; };
成员名称
描述
dims
每一维的大小,要求大于0。
dimNum
Tensor的维数,取值范围为(0, 8]。