mtenn.strategy.Strategy
- class mtenn.strategy.Strategy(*args, **kwargs)[source]
Bases:
Module,ABCAbstract base class for the
Strategyblock. Any subclass needs to implement theforwardmethod in order to be used.Methods
forward(comp, *parts)For any strategy class, this function should take a complex representation and (optionally) any number of "part" representations, and return a single \(\mathrm{\Delta G}\) prediction.