One open-source API for all frameworks.
1import cartonml as carton2
3MODEL_PATH = "/path/to/pytorch_model.carton" 4
5model = await carton.load(MODEL_PATH)6await model.infer({7 "x": np.zeros(5)8})
or explore the community model registry.