Struct Memory¶
Defined in File eval_node.hpp
Struct Documentation¶
-
struct Memory¶
This function object takes an evaluation node and returns the memory storage required to evaluate it in AsyCost form.
Note
The memory requirement for non-tensor objects (eg. variables and scalar constants) are taken to be zero.
The memory requirement for evaluation of children nodes is not counted.
Public Functions
-
template<typename NodeT, typename = std::enable_if_t<IsEvalNode<NodeT>>>
inline AsyCost operator()(NodeT const &n) const¶