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

#### 函数功能

获取可写的原始shape。


#### 函数原型

```
Shape &MutableOriginShape()
```


#### 参数说明

无。


#### 返回值说明

可写的原始shape。


#### 约束说明

无。


#### 调用示例

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