Kaspersky Neuromorphic Platform
1.0.0
API Reference
|
Load data from file. More...
#include <knp/core/impexp.h>
#include <knp/core/messaging/messaging.h>
#include <filesystem>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | knp |
General framework namespace. | |
namespace | knp::framework |
Framework namespace. | |
namespace | knp::framework::io |
Input and output channel namespace. | |
namespace | knp::framework::io::storage |
Storage namespace. | |
namespace | knp::framework::io::storage::native |
Data storage namespace. | |
Functions | |
KNP_DECLSPEC std::vector< core::messaging::SpikeMessage > | knp::framework::io::storage::native::load_messages_from_h5 (const std::filesystem::path &path_to_h5, const knp::core::UID &uid, float time_per_step=1.0f, bool strict_format=true) |
Read spike messages from an HDF5 file. | |
KNP_DECLSPEC void | knp::framework::io::storage::native::save_messages_to_h5 (const std::vector< core::messaging::SpikeMessage > &messages, const std::filesystem::path &path_to_save, float time_per_step=1.0f) |
Save a vector of spike messages to HDF5 file. | |
Load data from file.
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 data_storage_hdf5.h.