gtbluesky / onnxruntime_flutter

A flutter plugin for OnnxRuntime provides an easy, flexible, and fast Dart API to integrate Onnx models in flutter apps across mobile and desktop platforms.
MIT License
68 stars 12 forks source link

Get inputs metadata as a list #9

Open ghost opened 8 months ago

ghost commented 8 months ago

In python there Session has get_inputs and get_outputs

    def get_inputs(self):
        "Return the inputs metadata as a list of :class:`onnxruntime.NodeArg`."
        return self._inputs_meta

    def get_outputs(self):
        "Return the outputs metadata as a list of :class:`onnxruntime.NodeArg`."
        return self._outputs_meta

Can these be added to the API or is there another way to access this data?