# 类列表

[![查看源文件](./_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.1/docs/api_cpp/source_zh_cn/class_list.md)

MindSpore Lite中的类定义及其所属命名空间和描述:

| 命名空间           | 类                                                                                              | 描述                                                                     |
| ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| mindspore          | [KernelCallBack](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/mindspore.html#kernelcallback) | KernelCallBack定义了指向回调函数的指针。                                 |
| mindspore::lite    | [Allocator](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/lite.html#allocator)                | Allocator定义了一个内存池,用于动态地分配和释放内存。                    |
| mindspore::lite    | [Context](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/lite.html#context)                    | Context用于保存执行期间的环境变量。                                      |
| mindspore::lite    | [ModelImpl](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/lite.html#modelimpl)                | ModelImpl定义了MindSpore Lite中的Model的实现类。                         |
| mindspore::lite    | [PrimitiveC](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/lite.html#primitivec)              | PrimitiveC定义为算子的原型。                                             |
| mindspore::lite    | [Model](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/lite.html#model)                        | Model定义了MindSpore Lite中的模型,便于计算图管理。                      |
| mindspore::lite    | [ModelBuilder](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/lite.html#modelbuilder)          | ModelBuilder定义了MindSpore Lite中的模型构建器。                         |
| mindspore::session | [LiteSession](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/session.html#litesession)         | LiteSession定义了MindSpore Lite中的会话,用于进行Model的编译和前向推理。 |
| mindspore::tensor  | [MSTensor](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/tensor.html#mstensor)                | MSTensor定义了MindSpore Lite中的张量。                                   |
| mindspore::dataset | [LiteMat](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/dataset.html#litemat)                 | LiteMat是一个处理图像的类。                                              |

MindSpore中的类定义及其所属命名空间和描述:

| 命名空间  | 类                                                                                            | 描述                                           |
| --------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| mindspore | [Context](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/mindspore.html#context)             | Context用于保存执行期间的环境变量。            |
| mindspore | [Serialization](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/mindspore.html#serialization) | Serialization汇总了模型文件读写的方法。        |
| mindspore | [Model](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/mindspore.html#model)                 | Model定义了MindSpore中的模型,便于计算图管理。 |
| mindspore | [MSTensor](https://www.mindspore.cn/doc/api_cpp/zh-CN/r1.1/mindspore.html#mstensor)           | Tensor定义了MindSpore中的张量。                |