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

Method prop_up

examples/machine_learning/deep_belief_net.cpp:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 array prop_up(const array &in) {
104 return sigmoid(tile(h_bias, in.dims(0)) + matmulNT(in, weights));
105 }
106};
107
108class dbn {

Callers 1

trainMethod · 0.45

Calls 4

matmulNTFunction · 0.85
sigmoidFunction · 0.50
tileFunction · 0.50
dimsMethod · 0.45

Tested by

no test coverage detected