MCPcopy Create free account
hub / github.com/OriginQ/QPanda-2 / propagate

Method propagate

Core/Variational/expression.cpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66MatrixXd expression::propagate(){
67 _rpropagate(root);
68 return root.getValue();
69}
70
71MatrixXd expression::propagate(const std::vector<var>& leaves){
72 std::queue<var> q;

Callers 1

evalFunction · 0.80

Calls 10

_rpropagateFunction · 0.85
frontMethod · 0.80
getParentsMethod · 0.80
getNumOpArgsMethod · 0.80
_evalMethod · 0.80
getValueMethod · 0.45
pushMethod · 0.45
emptyMethod · 0.45
popMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected