Halide
12.0.1
Halide compiler and libraries
|
Create a small array of Exprs for defining and calling functions with multiple outputs. More...
#include <Tuple.h>
Public Member Functions | |
size_t | size () const |
The number of elements in the tuple. More... | |
Expr & | operator[] (size_t x) |
Get a reference to an element. More... | |
Expr | operator[] (size_t x) const |
Get a copy of an element. More... | |
Tuple (Expr e) | |
Construct a Tuple of a single Expr. More... | |
template<typename... Args> | |
Tuple (const Expr &a, const Expr &b, Args &&...args) | |
Construct a Tuple from some Exprs. More... | |
HALIDE_NO_USER_CODE_INLINE | Tuple (const std::vector< Expr > &e) |
Construct a Tuple from a vector of Exprs. More... | |
Tuple (const FuncRef &) | |
Construct a Tuple from a function reference. More... | |
const std::vector< Expr > & | as_vector () const |
Treat the tuple as a vector of Exprs. More... | |
Create a small array of Exprs for defining and calling functions with multiple outputs.
|
inlineexplicit |
|
inlineexplicit |
Construct a Tuple from a vector of Exprs.
Definition at line 54 of file Tuple.h.
References user_assert.
|
inline |
|
inline |