Shortcuts

model.h

typedef struct mmdeploy_model *mmdeploy_model_t
int mmdeploy_model_create_by_path(const char *path, mmdeploy_model_t *model)

Create SDK Model instance from given model path.

参数
  • path[in] model path

  • model[out] sdk model instance that must be destroyed by mmdeploy_model_destroy

返回

status code of the operation

int mmdeploy_model_create(const void *buffer, int size, mmdeploy_model_t *model)

Create SDK Model instance from memory.

参数
  • buffer[in] a linear buffer contains the model information

  • size[in] size of buffer in bytes

  • model[out] sdk model instance that must be destroyed by mmdeploy_model_destroy

返回

status code of the operation

void mmdeploy_model_destroy(mmdeploy_model_t model)

Destroy model instance.

参数

model[in] sdk model instance created by mmdeploy_model_create_by_path or mmdeploy_model_create

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