---
title: MutableShape
description: "获取可写的原始shape。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/basicdataapi/atlasopapi_07_00734.html
sourcePath: /source/zh/canncommercial/900/maintenref/basicdataapi/atlasopapi_07_00734.html
indexId: a83d476e6fd520f3be675eb7273b38c2dba721cd1c52619b455da7928332d36878
---
# MutableShape

#### 函数功能

获取可写的原始shape。


#### 函数原型

```
Shape &MutableShape()
```


#### 参数说明

无。


#### 返回值说明

可写的原始shape。


#### 约束说明

无。


#### 调用示例

```
StorageShape shape({3, 256, 256}, {256, 256, 3});
auto origin_shape = shape.MutableShape(); // 3,256,256
```
