|
liblloyal 1.0.0
Composable primitives for llama.cpp inference
|
#include <minja.hpp>
Public Member Functions | |
| SliceExpr (const Location &loc, std::shared_ptr< Expression > &&s, std::shared_ptr< Expression > &&e, std::shared_ptr< Expression > &&st=nullptr) | |
| Value | do_evaluate (const std::shared_ptr< 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 > | start |
| std::shared_ptr< Expression > | end |
| std::shared_ptr< Expression > | step |
Public Attributes inherited from minja::Expression | |
| Location | location |
Additional Inherited Members | |
Public Types inherited from minja::Expression | |
| using | Parameters = std::vector< std::pair< std::string, std::shared_ptr< Expression > > > |
|
inline |
|
inlineoverridevirtual |
Implements minja::Expression.
| std::shared_ptr<Expression> minja::SliceExpr::end |
| std::shared_ptr<Expression> minja::SliceExpr::start |
| std::shared_ptr<Expression> minja::SliceExpr::step |