MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / get_weights

Method get_weights

examples/machine_learning/deep_belief_net.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 , v_bias(constant(0, 1, v_size)) {}
53
54 array get_weights() {
55 return transpose(join(1, weights, transpose(h_bias)));
56 }
57
58 void train(const array &in, double lr, int num_epochs, int batch_size,
59 bool verbose) {

Callers 1

trainMethod · 0.80

Calls 2

transposeFunction · 0.50
joinFunction · 0.50

Tested by

no test coverage detected