Edge MDT Custom Layers (EdgeMDT CL)
Edge MDT Custom Layers (EdgeMDT CL) is an open-source project implementing detection post process NN layers not supported by the TensorFlow Keras API or Torch's torch.nn for the easy integration of those layers into pretrained models.
Table of Contents
Getting Started
This section provides an installation and a quick starting guide.
Installation
To install the latest stable release of SCL, run the following command:
pip install edge-mdt-cl
By default, no framework dependencies are installed. To install SCL including the latest tested dependencies (up to patch version) for TensorFlow:
pip install edge-mdt-cl[tf]
To install SCL including the latest tested dependencies (up to patch version) for PyTorch/ONNX/OnnxRuntime:
pip install edge-mdt-cl[torch]
Supported Versions
TensorFlow
| Tested FW versions | Tested Python version | Serialization |
|---|---|---|
| 2.14 | 3.10-3.11 | .keras |
| 2.15 | 3.10-3.11 | .keras |
PyTorch
| Tested FW versions | Tested Python version | Serialization |
|---|---|---|
| torch 2.3-2.6 torchvision 0.18-0.21 onnxruntime 1.15-1.21 onnxruntime_extensions 0.8-0.13 onnx 1.14-1.17 |
3.10-3.12 | .onnx (via torch.onnx.export) |
API
For edge-mdt-cl API see https://sonysemiconductorsolutions.github.io/aitrios-edge-mdt-cl
TensorFlow API
For TensorFlow layers see KerasAPI
To load a model with custom layers in TensorFlow, see custom_layers_scope
PyTorch API
For PyTorch layers see PyTorchAPI
No special handling is required for torch.onnx.export and onnx.load.
For OnnxRuntime support see load_custom_ops
License
Metadata
Release files for edge-mdt-cl 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edge_mdt_cl-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for edge_mdt_cl-1.1.1-py3-none-any.whl |
Release files / edge_mdt_cl-1.1.1-py3-none-any.whl
| Download URL | edge_mdt_cl-1.1.1-py3-none-any.whl |
|---|---|
| Size | 45.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b60104a22f5be4daceee44f62528a4c42a03a903840b3ab50f0852953892623
|
|
BLAKE2b-256 checksum How to use checksums |
16e0e72db17d6a46f1fea786485ff34581c9a9faca78c4b0ceec2aea0b1a4b7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for edge-mdt-cl 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.