Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ gibbs_vhv
Method
gibbs_vhv
examples/machine_learning/rbm.cpp:71–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
}
70
71
void gibbs_vhv(array &vt, array &ht, const array &v, int k = 1) {
72
vt = v;
73
for (int i = 0; i < k; i++) {
74
ht = vtoh(vt);
75
vt = htov(ht);
76
}
77
}
78
79
void gibbs_hvh(array &vt, array &ht, const array &h, int k = 1) {
80
ht = h;
Callers
1
rbm_demo
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected