otx.core.ov.utils#

Utils for otx.core.ov.

Functions

get_op_name(op_node)

Get op name string.

load_ov_model(model_path[, weight_path, ...])

Load ov_model from model_path.

normalize_name(name)

Normalize name string.

to_dynamic_model(ov_model)

Convert ov_model to dynamic Model.

unnormalize_name(name)

Unnormalize name string.

otx.core.ov.utils.get_op_name(op_node: Node) str[source]#

Get op name string.

otx.core.ov.utils.load_ov_model(model_path: str, weight_path: str | None = None, convert_dynamic: bool = False) Model[source]#

Load ov_model from model_path.

otx.core.ov.utils.normalize_name(name: str) str[source]#

Normalize name string.

otx.core.ov.utils.to_dynamic_model(ov_model: Model) Model[source]#

Convert ov_model to dynamic Model.

otx.core.ov.utils.unnormalize_name(name: str) str[source]#

Unnormalize name string.