Kaspersky Neuromorphic Platform
1.0.0
API Reference
Loading...
Searching...
No Matches
network_io.h
Go to the documentation of this file.
1
22
#pragma once
23
#include <knp/core/impexp.h>
24
#include <
knp/framework/network.h
>
25
26
#include <filesystem>
27
31
namespace
knp::framework::sonata
32
{
39
KNP_DECLSPEC
void
save_network
(
const
Network &network,
const
std::filesystem::path &dir);
40
41
47
KNP_DECLSPEC Network
load_network
(
const
std::filesystem::path &config_path);
48
49
}
// namespace knp::framework::sonata
knp::framework::sonata
SONATA namespace.
Definition
network_io.h:32
knp::framework::sonata::save_network
KNP_DECLSPEC void save_network(const Network &network, const std::filesystem::path &dir)
Save network to disk.
knp::framework::sonata::load_network
KNP_DECLSPEC Network load_network(const std::filesystem::path &config_path)
Load network from disk.
network.h
Network interface.