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.

Parameters
  • path[in] model path

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

Returns

status code of the operation

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

Create SDK Model instance from memory.

Parameters
  • 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

Returns

status code of the operation

void mmdeploy_model_destroy(mmdeploy_model_t model)

Destroy model instance.

Parameters

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

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.