Patent ID: 11941724
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 11:
12. A model inference apparatus based on a graphics rendering pipeline, comprising at least one processor, wherein the at least one processor is configured to:
obtain an instruction stream in a render thread;
extract and save texture data information from the instruction stream, wherein the texture data information comprises texture data; and
input the texture data information to a graphics processing unit (GPU) rendering pipeline, wherein the GPU rendering pipeline performs GPU model-based inference on the texture data based on a GPU model to obtain an inference result of the texture data, and the GPU model is a model running in a GPU,
wherein the at least one processor is further configured to:
before inputting the texture data information to the GPU rendering pipeline, obtain and save an ID of a texture in an activated state; and
obtain the inference result by using the render thread, wherein the inference result is saved in a texture data format.