Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
train
Method · 0.80
Calls
2
transpose
Function · 0.50
join
Function · 0.50
Tested by
no test coverage detected