Classes | |
class | DataChunk |
class | DataChunk2D |
class | DataChunkFlat |
class | KerasModel |
class | Layer |
class | LayerActivation |
class | LayerConv2D |
class | LayerDense |
class | LayerFlatten |
class | LayerMaxPooling |
Functions | |
std::vector< float > | read_1d_array (std::ifstream &fin, int cols) |
void | missing_activation_impl (const std::string &act) |
std::vector< std::vector< float > > | conv_single_depth_valid (std::vector< std::vector< float > > const &im, std::vector< std::vector< float > > const &k) |
std::vector< std::vector< float > > | conv_single_depth_same (std::vector< std::vector< float > > const &im, std::vector< std::vector< float > > const &k) |
std::vector< std::vector< float > > keras::conv_single_depth_same | ( | std::vector< std::vector< float > > const & | im, |
std::vector< std::vector< float > > const & | k | ||
) |
Definition at line 250 of file KerasModel.cxx.
References MECModelEnuComparisons::i, calib::j, gen_hdf5record::size, and submit_syst::y.
Referenced by keras::LayerConv2D::compute_output(), and missing_activation_impl().
std::vector< std::vector< float > > keras::conv_single_depth_valid | ( | std::vector< std::vector< float > > const & | im, |
std::vector< std::vector< float > > const & | k | ||
) |
Definition at line 225 of file KerasModel.cxx.
References MECModelEnuComparisons::i, calib::j, gen_hdf5record::size, and submit_syst::y.
Referenced by keras::LayerConv2D::compute_output(), and missing_activation_impl().
void keras::missing_activation_impl | ( | const std::string & | act | ) |
Definition at line 176 of file KerasModel.cxx.
References keras::LayerActivation::compute_output(), keras::LayerConv2D::compute_output(), keras::LayerDense::compute_output(), keras::KerasModel::compute_output(), conv_single_depth_same(), conv_single_depth_valid(), om::cout, allTimeWatchdog::endl, exit(), stan::math::exp(), keras::DataChunk::get_1d(), keras::DataChunkFlat::get_1d_rw(), keras::DataChunk::get_3d(), keras::DataChunk::get_data_dim(), MECModelEnuComparisons::i, makeTrainCVSamples::int, calib::j, submit_hadd::l, CLHEP::L, m, keras::KerasModel::m_layers, confusionMatrixTree::out, keras::DataChunk::set_data(), gen_hdf5record::size, sum, tmp, w, submit_syst::x, and submit_syst::y.
Referenced by keras::LayerMaxPooling::compute_output(), and keras::LayerActivation::compute_output().
std::vector< float > keras::read_1d_array | ( | std::ifstream & | fin, |
int | cols | ||
) |
Definition at line 11 of file KerasModel.cxx.
References cols, and getGoodRuns4SAM::n.
Referenced by keras::DataChunk2D::read_from_file().