TorchLean API

NN.Examples.Interop.PyTorch.Import

PyTorch Example Importers #

Architecture-specific JSON state_dict loaders for examples and verification workflows.

These modules are small example consumers of the bridge, not the general PyTorch import pipeline. The actual files live beside their JSON/Python fixtures under MLP/, CNN/, and Transformer/. The general path is:

torch.save(model.state_dict()) → generated JSON adapter → NN.Runtime.PyTorch.Import.Core.

Verification-owned checkpoint bridges, such as trained PINN loading, live under NN.Verification.* rather than in this examples umbrella.