模型信息¶
查看模型信息。
Classes¶
| Type | Name |
|---|---|
| struct | SaigeRoiInfo 包含 ROI 信息的结构体。 由 ROI 模式和相应参数组成,以及常用的盲掩膜信息。 |
| struct | SaigeModelInfo 包含模型信息的结构体。 |
Public Functions¶
| Type | Name |
|---|---|
| int | SaigeGetModelInfo (SaigeInferenceHandle handle, SaigeModelInfo * info) 从推理句柄中检索模型信息。 |
Public Functions Documentation¶
SaigeGetModelInfo¶
从推理句柄中检索模型信息。
int SaigeGetModelInfo (
SaigeInferenceHandle handle,
SaigeModelInfo * info
)
Parameters:
handle要检索信息的推理句柄。info[out] 用于存储模型信息的结构。
Returns:
errorCode 成功时返回 0,发生错误时返回错误代码。