---
title: 简介
description: "用于保存图的缓存数据。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0551.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0551.html
indexId: 54c2844aa8aff93fa6e928e939c878a77974874223d9cacd5b6d03ed4120072872
---
# 简介

用于保存图的缓存数据。

#### 需要包含的头文件

```
#include <graph/graph_buffer.h>
```


#### Public成员函数

```
GraphBuffer()
GraphBuffer(const GraphBuffer &) = delete
GraphBuffer &operator=(const GraphBuffer &) = delete
~
GraphBuffer()
const std::uint8_t *GetData() const
std::size_t GetSize() const
```
