hyrax.verbs.to_onnx
===================

.. py:module:: hyrax.verbs.to_onnx


Attributes
----------

.. autoapisummary::

   hyrax.verbs.to_onnx.logger


Classes
-------

.. autoapisummary::

   hyrax.verbs.to_onnx.ToOnnx


Module Contents
---------------

.. py:data:: logger

.. py:class:: ToOnnx(config)

   Bases: :py:obj:`hyrax.verbs.verb_registry.Verb`


   Export the model to ONNX format

   .. py:method:: __init__

   Overall initialization for all verbs that saves the config


   .. py:attribute:: cli_name
      :value: 'to_onnx'



   .. py:attribute:: add_parser_kwargs


   .. py:method:: setup_parser(parser)
      :staticmethod:


      Setup parser for ONNX export verb



   .. py:method:: run_cli(args=None)

      Run the ONNX export verb from the CLI



   .. py:method:: run(input_model_directory: str = None)

      Export the model to ONNX format and save it to the specified path.



