Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ prop_down
Method
prop_down
examples/machine_learning/rbm.cpp:66–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
}
65
66
array prop_down(const array &h) {
67
array v_bias_tile = tile(v_bias, h.dims(0));
68
return sigmoid(v_bias_tile + matmul(h, weights));
69
}
70
71
void gibbs_vhv(array &vt, array &ht, const array &v, int k = 1) {
72
vt = v;
Callers
nothing calls this directly
Calls
4
tile
Function · 0.50
sigmoid
Function · 0.50
matmul
Function · 0.50
dims
Method · 0.45
Tested by
no test coverage detected