MODEL INFERENCE METHOD AND APPARATUS BASED ON GRAPHICS RENDERING PIPELINE, AND STORAGE MEDIUM

    公开(公告)号:US20220156878A1

    公开(公告)日:2022-05-19

    申请号:US17665678

    申请日:2022-02-07

    Abstract: This application provides a model inference method and apparatus based on a graphics rendering pipeline, and a storage medium for model inference based on a graphics rendering pipeline. The method includes: obtaining an instruction stream in a render thread; extracting and saving texture data information from the instruction stream, where the texture data information includes texture data; and inputting the texture data information to a graphics processing unit (GPU) rendering pipeline, where the GPU rendering pipeline is used to perform 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. This implements model inference on the texture data, and avoids conversion of the texture data into another data type, thereby reducing I/O memory overheads.

Patent Agency Ranking