|
ember.cpp 0.1.0
C++ inference engine for Llama-family and paperkiln models (CPU, CUDA, WebAssembly)
|
#include <graph_ir_expr.h>

Public Member Functions | |
| const std::string & | text () const |
| size_t | n_inputs () const |
| const Node & | root () const |
Static Public Member Functions | |
| static Expr | parse (const std::string &text, size_t n_inputs=1) |
Static Public Attributes | |
| static constexpr size_t | kMaxInputs = 23 |
| static constexpr size_t | kMaxDepth = 200 |
Private Attributes | |
| std::string | text_ |
| size_t | n_inputs_ = 1 |
| Node | root_ |
Definition at line 38 of file graph_ir_expr.h.
|
inline |
Definition at line 511 of file graph_ir_expr.cpp.
References j, kMaxInputs, n_inputs(), text(), and text_.
Referenced by ember_ir::expr::cached().
|
inline |
Definition at line 41 of file graph_ir_expr.h.
Definition at line 40 of file graph_ir_expr.h.
Referenced by ember_ir::ir_expr_cuda(), and parse().
|
private |
Definition at line 53 of file graph_ir_expr.h.
Referenced by n_inputs().
|
private |
Definition at line 54 of file graph_ir_expr.h.
Referenced by root().
|
private |
Definition at line 52 of file graph_ir_expr.h.