Tenncor
Public Member Functions | Public Attributes | List of all members
eteq::FuncConvr< T > Struct Template Referencefinal

Implementation of optimization converter that represents and builds functors. More...

#include <parse.hpp>

Inheritance diagram for eteq::FuncConvr< T >:
Inheritance graph
[legend]
Collaboration diagram for eteq::FuncConvr< T >:
Collaboration graph
[legend]

Public Member Functions

 FuncConvr (std::string op, BuilderArgsT args)
 
teq::TensptrT build (const opt::ContexT &ctx, teq::Shape outshape) const override
 Implementation of iConverter. More...
 
std::string to_string (void) const override
 Implementation of iConverter. More...
 
- Public Member Functions inherited from opt::iConverter
virtual ~iConverter (void)=default
 

Public Attributes

teq::Opcode opcode_
 Operator being represented. More...
 
BuilderArgsT args_
 Arguments of the functor. More...
 

Detailed Description

template<typename T>
struct eteq::FuncConvr< T >

Implementation of optimization converter that represents and builds functors.

Constructor & Destructor Documentation

◆ FuncConvr()

template<typename T >
eteq::FuncConvr< T >::FuncConvr ( std::string  op,
BuilderArgsT  args 
)
inline

Member Function Documentation

◆ build()

template<typename T >
teq::TensptrT eteq::FuncConvr< T >::build ( const opt::ContexT ctx,
teq::Shape  outshape 
) const
inlineoverridevirtual

Implementation of iConverter.

Implements opt::iConverter.

◆ to_string()

template<typename T >
std::string eteq::FuncConvr< T >::to_string ( void  ) const
inlineoverridevirtual

Implementation of iConverter.

Implements opt::iConverter.

Member Data Documentation

◆ args_

template<typename T >
BuilderArgsT eteq::FuncConvr< T >::args_

Arguments of the functor.

◆ opcode_

template<typename T >
teq::Opcode eteq::FuncConvr< T >::opcode_

Operator being represented.


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