---
title: GetInputShape
description: 获得输入张量的形状。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/msadg/mxvisionug_0334.html"
---

# GetInputShape

#### 函数功能

获得输入张量的形状。


#### 函数原型

```
std::vector<std::vector<int64_t>> GetInputShape() const;
```
