Describes a pair of internal Tensors after an operation. More...
#include <TTL_schemes_common.h>
Public Member Functions | |
TTL_io_tensors (TTL_sub_tensor< TENSORTYPE > imported_to, TTL_sub_tensor< TENSORTYPE > to_export_from) | |
Create a TTL_io_tensors from a pair of tensors. | |
bool | empty () const |
Data Fields | |
TTL_sub_tensor< TENSORTYPE > | imported_to |
The TTL_sub_tensor that was most recently imported. | |
TTL_sub_tensor< TENSORTYPE > | to_export_from |
The TTL_sub_tensor that will be exported next. | |
Describes a pair of internal Tensors after an operation.
The most likely usage is that compute input comes from the imported_to TTL_sub_tensor and the compute output goes to the to_export_from TTL_sub_tensor.
Definition at line 53 of file p/pipelines/TTL_schemes_common.h.
|
inline |
Create a TTL_io_tensors from a pair of tensors.
imported_to | The TTL_sub_tensor that was most recently imported |
to_export_from | The TTL_sub_tensor that will be exported next |
Definition at line 62 of file p/pipelines/TTL_schemes_common.h.
|
inline |
Definition at line 65 of file p/pipelines/TTL_schemes_common.h.
TTL_sub_tensor<TENSORTYPE> TTL_io_tensors< TENSORTYPE >::imported_to |
The TTL_sub_tensor that was most recently imported.
Definition at line 69 of file p/pipelines/TTL_schemes_common.h.
TTL_sub_tensor<TENSORTYPE> TTL_io_tensors< TENSORTYPE >::to_export_from |
The TTL_sub_tensor that will be exported next.
Definition at line 70 of file p/pipelines/TTL_schemes_common.h.