{"id":27713,"library":"edge-mdt-cl","title":"Edge MDT Custom Layers","description":"Edge MDT Custom Layers provides custom TensorFlow/Keras layers for edge machine learning deployment. Current version 1.1.1, requires Python >=3.10. Release cadence is irregular, primarily updates for bug fixes.","status":"active","version":"1.1.1","language":"python","source_language":"en","source_url":"https://github.com/example/edge-mdt-cl","tags":["edge-ml","tensorflow","keras","custom-layers"],"install":[{"cmd":"pip install edge-mdt-cl","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required for layer operations; must be installed separately.","package":"tensorflow","optional":false},{"reason":"Used for numerical computations.","package":"numpy","optional":false}],"imports":[{"note":"MDTLayer is in the layers submodule.","wrong":"from edge_mdt_cl import MDTLayer","symbol":"MDTLayer","correct":"from edge_mdt_cl.layers import MDTLayer"},{"note":"","wrong":"","symbol":"EdgeConv2D","correct":"from edge_mdt_cl.layers import EdgeConv2D"}],"quickstart":{"code":"import tensorflow as tf\nfrom edge_mdt_cl.layers import MDTLayer\n\nlayer = MDTLayer(units=32)\ninput_tensor = tf.random.normal([1, 64])\noutput = layer(input_tensor)\nprint(output.shape)","lang":"python","description":"Demonstrates creating an MDTLayer with 32 units and applying it to random input."},"warnings":[{"fix":"Update imports: `from edge_mdt_cl.layers import LayerName` instead of `from edge_mdt_cl import LayerName`.","message":"Version 1.0.0 renamed all layers from `edge_mdt_cl.<name>` to submodule `edge_mdt_cl.layers`.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Install TensorFlow version >=2.0.","message":"Requires TensorFlow 2.x; not compatible with TensorFlow 1.x.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Use `from edge_mdt_cl.layers import MDTLayer`.","cause":"Importing directly from top-level package instead of submodule.","error":"ImportError: cannot import name 'MDTLayer' from 'edge_mdt_cl'"},{"fix":"Upgrade to latest version: `pip install --upgrade edge-mdt-cl`.","cause":"Using outdated version (<1.0.0).","error":"AttributeError: module 'edge_mdt_cl' has no attribute 'layers'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}