Cortenn
zprune.hpp
Go to the documentation of this file.
1 
9 #include "opt/shear.hpp"
10 
11 #include "llo/generated/grader.hpp"
12 
13 #include "llo/data.hpp"
14 
15 #ifndef LLO_ZPRUNE_HPP
16 #define LLO_ZPRUNE_HPP
17 
18 namespace llo
19 {
20 
23 ade::TensptrT zero_prune (ade::TensptrT root);
24 
26 ade::TensptrT derive (ade::TensptrT root, ade::iTensor* target);
27 
28 }
29 
30 #endif // LLO_ZPRUNE_HPP
ade::TensptrT derive(ade::TensptrT root, ade::iTensor *target)
Derive root with respect to target with zero branches pruned.
Definition: data.hpp:20
ade::TensptrT zero_prune(ade::TensptrT root)