In this section, we will discuss the ML model sharing APIs in the Dlib, Shogun, Shark-ML, and PyTorch libraries. There are three main types of sharing ML models among the different C++ libraries:
- Share model parameters (weights)
- Share the entire model's architecture
- Share both the model architecture and its trained parameters
In the following sections, we will look at what API is available in each library and emphasize what type of sharing it supports.