|
| fc_layer_sp () |
|
| fc_layer_sp (const std::vector< std::vector< double >> &weights_, const std::vector< double > &biases_) |
|
| fc_layer_sp (const Eigen::MatrixXd &weights_, const Eigen::VectorXd &biases_) |
|
| fc_layer_sp (const Eigen::MatrixXd &weights_, const std::vector< double > &biases_) |
|
| ~fc_layer_sp () |
|
Eigen::VectorXd | predict (const Eigen::VectorXd &input) override |
|
std::vector< Eigen::VectorXd > | predict_batch (const std::vector< Eigen::VectorXd > &input) override |
|
Eigen::MatrixXd | compute_partial_derivatives_wrt_inputs (Eigen::VectorXd &input) |
|
Eigen::MatrixXd | compute_partial_derivatives_wrt_weights_biases (Eigen::VectorXd &input) |
|
| layer () |
|
| layer (const std::vector< std::vector< double >> &weights_, const std::vector< double > &biases_) |
|
| layer (const std::vector< std::vector< double >> &weights_) |
|
| layer (const Eigen::MatrixXd &weights_) |
|
| layer (const Eigen::MatrixXd &weights_, const std::vector< double > &biases_) |
|
| layer (const Eigen::MatrixXd &weights_, const Eigen::VectorXd &biases_) |
|
| layer (const Eigen::MatrixXd &weights_, const Eigen::VectorXd &biases_, int in_dim, int out_dim) |
|
virtual | ~layer () |
|
const Eigen::VectorXd | get_biases () |
|
const Eigen::MatrixXd | get_weights () |
|
const Eigen::MatrixXd | get_weights_biases_as_mat () |
|
const Eigen::MatrixXd | get_weights_biases_as_vec_col_maj () |
|
const Eigen::MatrixXd | get_weights_biases_as_vec_row_maj () |
|
double | get_weight (int i, int j) |
|
double | get_bias (int i) |
|
void | set_biases (const Eigen::VectorXd &biases_) |
|
void | set_biases (const std::vector< double > &biases_) |
|
void | set_weights (const Eigen::MatrixXd &weights_) |
|
void | set_weight (int i, int j, double weight_) |
|
void | set_bias (int i, double bias_) |
|
void | set_weights_biases_compact (Eigen::MatrixXd &source) |
|
void | set_weights_biases (Eigen::MatrixXd &source) |
|
void | set_weights_biases_row_maj (Eigen::MatrixXd &source) |
|
int | get_num_nodes () |
|
int | get_input_size () |
|
int | get_weights_rows () |
|
int | get_weights_cols () |
|
std::string | get_type () |
|
void | transpose_weights () |
|
void | set_exp_max_cut (double exp_max_cut_) |
|
void | set_exp_zero_approx (double exp_zero_approx_) |
|
double | get_exp_max_cut () |
|
double | get_exp_zero_approx () |
|
Feedforward layer with softplus activation function.