Deployment Thread (DPL)

Table of contents

  1. Deployment Thread (DPL)

Deployment Thread (DPL)

This thread is responsible for the deployment process. In here, you will be preparing the inputs to the model, run inference, and post-process the outputs.

The deployment will be done in the deploy method of the DPL class, which is located in the Deployment/Deploy.cpp file. This method does not run all the time, but rather, it is only triggered whenever any status of the plugin that may impact the generation process changes. To be more specific, the deploy method is triggered whenever any of the following changes:

Once you process the above information, and subsequently, run inference, you will need to extract the outputs from the model and specify what sequence and how it should be played back. This is done by wrapping these information in PlaybackSequence and PlaybackPolicy respectively.

An overview of the “deploy” method is available here.


Table of contents