Tensor Tiling Library
 
Loading...
Searching...
No Matches
TTL_io_tensors< TENSORTYPE > Struct Template Reference

Describes a pair of internal Tensors after an operation. More...

#include <TTL_schemes_common.h>

Collaboration diagram for TTL_io_tensors< TENSORTYPE >:

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.
 

Detailed Description

template<typename TENSORTYPE>
struct TTL_io_tensors< TENSORTYPE >

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.

Constructor & Destructor Documentation

◆ TTL_io_tensors()

template<typename TENSORTYPE>
TTL_io_tensors< TENSORTYPE >::TTL_io_tensors ( TTL_sub_tensor< TENSORTYPE > imported_to,
TTL_sub_tensor< TENSORTYPE > to_export_from )
inline

Create a TTL_io_tensors from a pair of tensors.

Parameters
imported_toThe TTL_sub_tensor that was most recently imported
to_export_fromThe TTL_sub_tensor that will be exported next
Returns
A TTL_io_tensors structure

Definition at line 62 of file p/pipelines/TTL_schemes_common.h.

Member Function Documentation

◆ empty()

template<typename TENSORTYPE>
bool TTL_io_tensors< TENSORTYPE >::empty ( ) const
inline

Definition at line 65 of file p/pipelines/TTL_schemes_common.h.

Field Documentation

◆ imported_to

template<typename TENSORTYPE>
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.

◆ to_export_from

template<typename TENSORTYPE>
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.


The documentation for this struct was generated from the following file: