MCPcopy Create free account
hub / github.com/davisking/dlib / mlp_kernel_c

Method mlp_kernel_c

dlib/mlp/mlp_kernel_c.h:44–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 public:
43
44 mlp_kernel_c (
45 long nodes_in_input_layer,
46 long nodes_in_first_hidden_layer,
47 long nodes_in_second_hidden_layer = 0,
48 long nodes_in_output_layer = 1,
49 double alpha = 0.1,
50 double momentum = 0.8
51 ) : mlp_base( verify_constructor_args(
52 nodes_in_input_layer,
53 nodes_in_input_layer,
54 nodes_in_second_hidden_layer,
55 nodes_in_output_layer),
56 nodes_in_first_hidden_layer,
57 nodes_in_second_hidden_layer,
58 nodes_in_output_layer,
59 alpha,
60 momentum)
61 {
62 }
63
64 template <typename EXP>
65 const matrix<double> operator() (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected