MCPcopy 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

8expression::expression(var _root) : root(_root){}
9
10var expression::getRoot() const{
11 return root;
12}
13
14std::vector<var> expression::findLeaves(){
15 std::vector<var> leaves;

Callers 3

compute_gradientsMethod · 0.80
get_lossMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected