#include <array>
#include <iostream>
#include <vector>
#include <string>
#include <cypress/core/network.hpp>
#include "logger.hpp"
Go to the source code of this file.
|
template<typename T > |
std::map< std::string, T > | cypress::json_to_map (const cypress::Json &obj) |
|
template<typename T > |
std::vector< T > | cypress::read_check (std::map< std::string, T > &input, const std::vector< std::string > &names, const std::vector< T > &defaults) |
|
#define CYPRESS_UTILS_NEURON_PARAMETERS_HPP |
#define NAMED_PARAMETER |
( |
|
NAME, |
|
|
|
IDX |
|
) |
| |
Value:static constexpr size_t idx_##NAME = IDX; \
void NAME(
Real x) { arr[IDX] = x; }
\ Real &NAME() {
return arr[IDX]; }
\ Real NAME()
const {
return arr[IDX]; }
double Real
Definition: types.hpp:56
Macro used for defining the getters and setters associated with a parameter value.