Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OriginQ/QPanda-2
/ getRoot
Method
getRoot
Core/Variational/expression.cpp:10–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
expression::expression(var _root) : root(_root){}
9
10
var expression::getRoot() const{
11
return root;
12
}
13
14
std::vector<var> expression::findLeaves(){
15
std::vector<var> leaves;
Callers
3
compute_gradients
Method · 0.80
get_loss
Method · 0.80
run
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected