#include <keras_model.h>
Definition at line 95 of file keras_model.h.
keras::DataChunkFlat::DataChunkFlat |
( |
size_t |
size | ) |
|
|
inline |
Definition at line 97 of file keras_model.h.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
keras::DataChunkFlat::DataChunkFlat |
( |
size_t |
size, |
|
|
float |
init |
|
) |
| |
|
inline |
Definition at line 98 of file keras_model.h.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
keras::DataChunkFlat::DataChunkFlat |
( |
void |
| ) |
|
|
inline |
std::vector<float> const& keras::DataChunkFlat::get_1d |
( |
| ) |
const |
|
inlinevirtual |
std::vector<float>& keras::DataChunkFlat::get_1d_rw |
( |
| ) |
|
|
inline |
size_t keras::DataChunkFlat::get_data_dim |
( |
void |
| ) |
const |
|
inlinevirtual |
void keras::DataChunkFlat::read_from_file |
( |
const std::string & |
fname | ) |
|
|
inlinevirtual |
void keras::DataChunkFlat::set_data |
( |
std::vector< float > const & |
d | ) |
|
|
inlinevirtual |
void keras::DataChunkFlat::show_name |
( |
| ) |
|
|
inlinevirtual |
void keras::DataChunkFlat::show_values |
( |
| ) |
|
|
inlinevirtual |
Implements keras::DataChunk.
Definition at line 110 of file keras_model.h.
111 std::cout <<
"DataChunkFlat values:" <<
std::endl;
112 for(
size_t i = 0; i <
f.size(); ++i) std::cout <<
f[i] <<
" ";
QTextStream & endl(QTextStream &s)
The documentation for this class was generated from the following file: