Home
last modified time | relevance | path

Searched refs:vnodes (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/yap/example/autodiff_library/
Dautodiff.cpp63 double grad_reverse(Node* root,vector<Node*>& vnodes, vector<double>& grad) in grad_reverse() argument
66 BOOST_FOREACH(Node* node, vnodes) in grad_reverse()
81 BOOST_FOREACH(Node* node, vnodes) in grad_reverse()
87 assert(grad.size()==vnodes.size()); in grad_reverse()
92 double grad_reverse(Node* root, vector<Node*>& vnodes, col_compress_matrix_row& rgrad) in grad_reverse() argument
94 BOOST_FOREACH(Node* node, vnodes) in grad_reverse()
108 BOOST_FOREACH(Node* node, vnodes) in grad_reverse()
119 assert(i==vnodes.size()); in grad_reverse()
123 double hess_reverse(Node* root,vector<Node*>& vnodes,vector<double>& dhess) in hess_reverse() argument
159 for(vector<Node*>::iterator it=vnodes.begin();it!=vnodes.end();it++) in hess_reverse()
[all …]
Dautodiff.h95 extern unsigned int nzGrad(Node* root, boost::unordered_set<Node*>& vnodes);