.. _l-modules: Modules ======= .. contents:: :local: :depth: 1 Summary +++++++ +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | module | truncated documentation | +====================================================+==========================================================================================================================================================================================+ | :ref:`__init__ ` | module ``onnxcustom`` Experimentation with ONNX, examples. :githublink:`%|py|8` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`__init__ ` | module ``onnxcustom.cli`` Shortcuts to *cli*. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`__init__ ` | module ``onnxcustom.plotting`` Shortcuts to plotting. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`__init__ ` | module ``onnxcustom.training`` Shortcuts to *training*. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`__init__ ` | module ``onnxcustom.utils`` Shortcuts to *utils*. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`__main__ ` | module ``onnxcustom.__main__`` Implements command line ``python -m onnxcustom ``. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`_base ` | module ``onnxcustom.training._base`` Base class for :class:`BaseEstimator` and :class:`BaseOnnxFunction`. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`_base_estimator ` | module ``onnxcustom.training._base_estimator`` Optimizer with :epkg:`onnxruntime-training`. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`_base_onnx_function ` | module ``onnxcustom.training._base_onnx_function`` Helper for :epkg:`onnxruntime-training`. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`benchmark ` | module ``onnxcustom.utils.benchmark`` Tools to help benchmarking. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`data_loader ` | module ``onnxcustom.training.data_loader`` Manipulate data for training. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`doc_helper ` | module ``onnxcustom.utils.doc_helper`` Helpers to improve documentation rendering. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`excs ` | module ``onnxcustom.training.excs`` Exceptions. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`grad_helper ` | module ``onnxcustom.training.grad_helper`` ONNX and gradient. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`imagenet_classes ` | module ``onnxcustom.utils.imagenet_classes`` Informations related to the :epkg:`ImageNet` competition. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`nvprof2json ` | module ``onnxcustom.utils.nvprof2json`` Converts traces from :epkg:`nvprof`. The source comes from `nvprof2json `_. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`onnx_function ` | module ``onnxcustom.utils.onnx_function`` Onnx helper. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`onnx_helper ` | module ``onnxcustom.utils.onnx_helper`` Onnx implementation of common functions used to train a model. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`onnx_rewriter ` | module ``onnxcustom.utils.onnx_rewriter`` Rewrites operator in ONNX graph. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`onnx_split ` | module ``onnxcustom.utils.onnx_split`` Helpers to split an ONNX models. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`onnxruntime_helper ` | module ``onnxcustom.utils.onnxruntime_helper`` Onnxruntime helper. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`optimizers ` | module ``onnxcustom.training.optimizers`` Optimizer with :epkg:`onnxruntime-training`. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`optimizers_partial ` | module ``onnxcustom.training.optimizers_partial`` Optimizer with :epkg:`onnxruntime-training` forward backward training. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ortgradient ` | module ``onnxcustom.training.ortgradient`` Gradient with :epkg:`onnxruntime-training` forward backward. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`orttraining_helper ` | module ``onnxcustom.utils.orttraining_helper`` ONNX manipulations to help build ONNX gradient graphs. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`plotting_onnx ` | module ``onnxcustom.plotting.plotting_onnx`` Shortcuts to plotting. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`print_helper ` | module ``onnxcustom.utils.print_helper`` Helpers to display internal structures. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`profiling ` | module ``onnxcustom.cli.profiling`` Command lines for profiling. :githublink:`%|py|5` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`sgd_learning_loss ` | module ``onnxcustom.training.sgd_learning_loss`` Helper for :epkg:`onnxruntime-training`. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`sgd_learning_penalty ` | module ``onnxcustom.training.sgd_learning_penalty`` Helper for :epkg:`onnxruntime-training`. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`sgd_learning_rate ` | module ``onnxcustom.training.sgd_learning_rate`` Helper for :epkg:`onnxruntime-training`. :githublink:`%|py|6` | +----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. toctree:: :maxdepth: 1 onnxcustom/__init__ onnxcustom/__main__ onnxcustom/cli/__init__ onnxcustom/cli/profiling onnxcustom/plotting/__init__ onnxcustom/plotting/plotting_onnx onnxcustom/training/__init__ onnxcustom/training/_base onnxcustom/training/_base_estimator onnxcustom/training/_base_onnx_function onnxcustom/training/data_loader onnxcustom/training/excs onnxcustom/training/grad_helper onnxcustom/training/optimizers onnxcustom/training/optimizers_partial onnxcustom/training/ortgradient onnxcustom/training/sgd_learning_loss onnxcustom/training/sgd_learning_penalty onnxcustom/training/sgd_learning_rate onnxcustom/utils/__init__ onnxcustom/utils/benchmark onnxcustom/utils/doc_helper onnxcustom/utils/imagenet_classes onnxcustom/utils/nvprof2json onnxcustom/utils/onnx_function onnxcustom/utils/onnx_helper onnxcustom/utils/onnx_rewriter onnxcustom/utils/onnx_split onnxcustom/utils/onnxruntime_helper onnxcustom/utils/orttraining_helper onnxcustom/utils/print_helper