Function: model_unsubscribe
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Unsubscribes from basic operator information, including the operator name, operator type, and operator execution duration, in network scenarios.
Prototype
- C Prototype
1aclError aclprofModelUnSubscribe(uint32_t modelId)
- Python Function
1ret = acl.prof.model_unsubscribe(model_id)
Parameters
Parameter |
Description |
|---|---|
model_id |
Int, ID of the model that is subscribed to. |
Return Value
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Restrictions
This API must be used in pair with acl.prof.model_subscribe.
Parent topic: Subscribing to Operator Information