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

Parameters
  • config

  • context

  • pipeline

Returns

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

Parameters
  • model

  • context

  • pipeline

Returns

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

Apply pipeline.

Parameters
  • pipeline[in] handle of the pipeline

  • input[in] input value

  • output[out] output value

Returns

status of the operation

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

Apply pipeline asynchronously

Parameters
  • pipeline – handle of the pipeline

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

  • output – output sender

Returns

status of the operation

void mmdeploy_pipeline_destroy(mmdeploy_pipeline_t pipeline)

destroy pipeline

Parameters

pipeline[in]

Read the Docs v: stable
Versions
latest
stable
1.x
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.