Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[PyOV] Update Python API stub files (#35434)

sys-openvino-ci1eb4cc647ed8
diff --git a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pytorch_frontend_utils.pyi b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pytorch_frontend_utils.pyi
index a379895076f..4b7aadd3ff4 100644
--- a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pytorch_frontend_utils.pyi
+++ b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pytorch_frontend_utils.pyi
@@ -27,10 +27,6 @@ def _build_dynamic_shapes(inputs, input_specs = None):
flatten inputs, pair each leaf with its spec, and then unflatten the
result back into the original structure that torch.export expects.
- """
-def _export_torch_model(model, inputs, input_specs = None):
- """
- Export a torch.nn.Module using torch.export.export with Dim.AUTO dynamic shapes.
"""
def extract_input_info_from_example(args, inputs):
...