|
liblloyal 1.0.0
Composable primitives for llama.cpp inference
|
#include <minja.hpp>
Public Types | |
| enum class | Op { Plus , Minus , LogicalNot , Expansion , ExpansionDict } |
Public Types inherited from minja::Expression | |
| using | Parameters = std::vector< std::pair< std::string, std::shared_ptr< Expression > > > |
Public Member Functions | |
| UnaryOpExpr (const Location &loc, std::shared_ptr< Expression > &&e, Op o) | |
| Value | do_evaluate (const std::shared_ptr< Context > &context) const override |
Public Member Functions inherited from minja::Expression | |
| Expression (const Location &location) | |
| virtual | ~Expression ()=default |
| Value | evaluate (const std::shared_ptr< Context > &context) const |
Public Attributes | |
| std::shared_ptr< Expression > | expr |
| Op | op |
Public Attributes inherited from minja::Expression | |
| Location | location |
Additional Inherited Members |
|
strong |
|
inline |
|
inlineoverridevirtual |
Implements minja::Expression.
| std::shared_ptr<Expression> minja::UnaryOpExpr::expr |