# Class List

[![View Source On Gitee](https://gitee.com/mindspore/docs/raw/r1.3/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.3/docs/lite/api/source_en/api_cpp/class_list.md)

Here is a list of all classes with links to the namespace documentation for each member in MindSpore Lite:

| Namespace | Class Name | Description |
| --- | --- | --- |
| mindspore | [KernelCallBack](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/mindspore.html#kernelcallback) | KernelCallBack defines the function pointer for callback. |
| mindspore::lite | [Allocator](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/lite.html#allocator) | Allocator defines a memory pool for dynamic memory malloc and memory free. |
| mindspore::lite | [Context](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/lite.html#context) | Context is defined for holding environment variables during runtime. |
| mindspore::lite | [ModelImpl](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/lite.html#modelimpl) | ModelImpl defines the implement class of Model in MindSpore Lite. |
| mindspore::lite | [PrimitiveC](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/lite.html#primitivec) | Primitive is defined as prototype of operator. |
| mindspore::lite | [Model](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/lite.html#model) | Model defines model in MindSpore Lite for managing graph. |
| mindspore::lite | [ModelBuilder](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/lite.html#modelbuilder) | ModelBuilder is defined to build the model. |
| mindspore::session | [LiteSession](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/session.html#litesession) | LiteSession defines sessions in MindSpore Lite for compiling Model and forwarding model. |
| mindspore::tensor | [MSTensor](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/tensor.html#mstensor) | MSTensor defines tensor in MindSpore Lite. |
| mindspore::dataset | [LiteMat](https://www.mindspore.cn/lite/api/en/r1.3/generate/classmindspore_dataset_LiteMat.html) |LiteMat is a class used to process images. |

The definitions and namespaces of classes in MindSpore are as follows:

| Namespace | Class Name                                                                                 | Description                                                                                       |
| --------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------- |
| mindspore | [Context](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/mindspore.html#context)             | The Context class is used to store environment variables during execution.                        |
| mindspore | [Serialization](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/mindspore.html#serialization) | The Serialization class is used to summarize methods for reading and writing model files.         |
| mindspore | [Model](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/mindspore.html#model)                 | The Model class is used to define a MindSpore model, facilitating computational graph management. |
| mindspore | [MSTensor](https://www.mindspore.cn/lite/api/en/r1.3/api_cpp/tensor.html#mstensor)           | The MSTensor class defines a tensor in MindSpore.                                                 |