Skip to content

[Feature] Implement ONNX to TensorFlow Conversion Adapter #11

Description

@MadhurKumar004

The convert_onnx_to_tensorflow function in optimizer.py is currently a stub that returns None.

This missing adapter breaks the "Hybrid Optimization Pipeline" (PyTorch → ONNX → TF → TFLite). Users attempting to optimize PyTorch models for TFLite via this pipeline will fail silently or get unoptimized results.

Integrate library to strictly implement this conversion step. The function should take the ONNX model path and return a valid TensorFlow SavedModel or GraphDef that can then be passed to the TFLite converter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions