Kaspersky Neuromorphic Platform  1.0.0
API Reference
Loading...
Searching...
No Matches
network_io.h File Reference

Saving and loading networks. More...

#include <knp/core/impexp.h>
#include <knp/framework/network.h>
#include <filesystem>
+ Include dependency graph for network_io.h:

Go to the source code of this file.

Namespaces

namespace  knp
 General framework namespace.
 
namespace  knp::framework
 Framework namespace.
 
namespace  knp::framework::sonata
 SONATA namespace.
 

Functions

KNP_DECLSPEC void knp::framework::sonata::save_network (const Network &network, const std::filesystem::path &dir)
 Save network to disk.
 
KNP_DECLSPEC Network knp::framework::sonata::load_network (const std::filesystem::path &config_path)
 Load network from disk.
 

Detailed Description

Saving and loading networks.

Developers: A. Vartenkov
Date
31.01.2024
License: Apache 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file network_io.h.