Skip to content

SDK

dg is DeepGate's Python SDK for building, quantizing, and training models that target MCUs.

The SDK produces a trained model plus a schema JSON. Bitweaver takes that schema and compiles it for your target hardware.

Getting Started

Quickstart Install dg, check your version, and run your first layer

API Reference

API Reference Every public class and function, grouped by namespace

Tutorials

End-to-End Tutorial Train a model with dg, then deploy it with Bitweaver