Shortcuts

pipeline.h

typedef struct mmdeploy_pipeline *mmdeploy_pipeline_t
int mmdeploy_pipeline_create_v3(mmdeploy_value_t config, mmdeploy_context_t context, mmdeploy_pipeline_t *pipeline)

Create pipeline

参数
  • config

  • context

  • pipeline

返回

int mmdeploy_pipeline_create_from_model(mmdeploy_model_t model, mmdeploy_context_t context, mmdeploy_pipeline_t *pipeline)

Create pipeline from internal pipeline config of the model

参数
  • model

  • context

  • pipeline

返回

int mmdeploy_pipeline_apply(mmdeploy_pipeline_t pipeline, mmdeploy_value_t input, mmdeploy_value_t *output)

Apply pipeline.

参数
  • pipeline[in] handle of the pipeline

  • input[in] input value

  • output[out] output value

返回

status of the operation

int mmdeploy_pipeline_apply_async(mmdeploy_pipeline_t pipeline, mmdeploy_sender_t input, mmdeploy_sender_t *output)

Apply pipeline asynchronously

参数
  • pipeline – handle of the pipeline

  • input – input sender that will be consumed by the operation

  • output – output sender

返回

status of the operation

void mmdeploy_pipeline_destroy(mmdeploy_pipeline_t pipeline)

destroy pipeline

参数

pipeline[in]

Read the Docs v: stable
Versions
latest
stable
v1.3.1
v1.3.0
v1.2.0
v1.1.0
v1.0.0
0.x
v0.14.0
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.