Struct Memory

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

inline AsyCost operator()(meta::eval_node auto const &n) const