Create a small array of Exprs for defining and calling functions with multiple outputs.
More...
#include <Tuple.h>
Create a small array of Exprs for defining and calling functions with multiple outputs.
- Examples
- tutorial/lesson_13_tuples.cpp.
Definition at line 18 of file Tuple.h.
◆ Tuple() [1/4]
Halide::Tuple::Tuple |
( |
Expr |
e | ) |
|
|
inlineexplicit |
◆ Tuple() [2/4]
template<typename... Args>
Halide::Tuple::Tuple |
( |
const Expr & |
a, |
|
|
const Expr & |
b, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Construct a Tuple from some Exprs.
Definition at line 48 of file Tuple.h.
◆ Tuple() [3/4]
◆ Tuple() [4/4]
Halide::Tuple::Tuple |
( |
const FuncRef & |
| ) |
|
Construct a Tuple from a function reference.
◆ size()
size_t Halide::Tuple::size |
( |
| ) |
const |
|
inline |
The number of elements in the tuple.
Definition at line 24 of file Tuple.h.
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ as_vector()
const std::vector<Expr>& Halide::Tuple::as_vector |
( |
| ) |
const |
|
inline |
Treat the tuple as a vector of Exprs.
Definition at line 63 of file Tuple.h.
The documentation for this class was generated from the following file: