Kaspersky Neuromorphic Platform  1.0.0
API Reference
Loading...
Searching...
No Matches
knp::framework::sonata Namespace Reference

SONATA namespace. More...

Detailed Description

SONATA namespace.

Function Documentation

◆ load_network()

KNP_DECLSPEC Network knp::framework::sonata::load_network ( const std::filesystem::path & config_path)

Load network from disk.

Parameters
config_pathpath to network configuration file.
Returns
loaded network.

◆ save_network()

KNP_DECLSPEC void knp::framework::sonata::save_network ( const Network & network,
const std::filesystem::path & dir )

Save network to disk.

Note
The network is saved in the SONATA format.
Parameters
networknetwork to save.
dirdirectory to save the network.