AI Engine API User Guide (AIE-API) 2025.2
Loading...
Searching...
No Matches
aie::binary_op< Parent1, Parent2, Operation::Sign > Struct Template Reference

#include <expr.hpp>

Public Types

using elem_type = typename Parent1::elem_type
 
using parent1_type = Parent1
 
using parent1_type = Parent1
 
using parent2_type = Parent2
 
using parent2_type = Parent2
 
using result_type = op_result_type_t<parent1_type, Operation::Sign>
 
using result_type = op_result_type_t<parent1_type, Operation::Sign>
 
using value_type = op_value_type_t<result_type>
 
using value_type = op_value_type_t<result_type>
 

Public Member Functions

result_type operator() () const
 
result_type operator() () const
 
auto parent1 () const
 
auto & parent1 ()
 
auto parent2 () const
 
auto parent2 () const
 

Static Public Member Functions

static constexpr unsigned bits ()
 
static constexpr unsigned bits ()
 
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool is_operation (Operation op, Operations... ops)
 
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool is_operation (Operation op, Operations... ops)
 
static constexpr bool is_operation_none ()
 
static constexpr bool is_operation_none ()
 
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool is_operation_not (Operation op, Operations... ops)
 
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool is_operation_not (Operation op, Operations... ops)
 
static constexpr unsigned size ()
 
static constexpr unsigned size ()
 

Static Public Attributes

static constexpr Operation operation = Op
 
static constexpr Operation operation = Op
 

Member Typedef Documentation

◆ elem_type

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::elem_type = typename Parent1::elem_type

◆ parent1_type [1/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::parent1_type = Parent1

◆ parent1_type [2/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::parent1_type = Parent1

◆ parent2_type [1/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::parent2_type = Parent2

◆ parent2_type [2/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::parent2_type = Parent2

◆ result_type [1/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::result_type = op_result_type_t<parent1_type, Operation::Sign>

◆ result_type [2/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::result_type = op_result_type_t<parent1_type, Operation::Sign>

◆ value_type [1/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::value_type = op_value_type_t<result_type>

◆ value_type [2/2]

template<TensorBufferStream Parent1, typename Parent2>
using aie::binary_op< Parent1, Parent2, Operation::Sign >::value_type = op_value_type_t<result_type>

Member Function Documentation

◆ bits() [1/2]

template<typename Parent1, typename Parent2, Operation Op>
static constexpr unsigned aie::binary_op_common< Parent1, Parent2, Op >::bits ( )
inlinestaticconstexprinherited

◆ bits() [2/2]

template<typename Parent1, typename Parent2, Operation Op>
static constexpr unsigned aie::binary_op_common< Parent1, Parent2, Op >::bits ( )
inlinestaticconstexprinherited

◆ is_operation() [1/2]

template<typename Parent1, typename Parent2, Operation Op>
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool aie::binary_op_common< Parent1, Parent2, Op >::is_operation ( Operation op,
Operations... ops )
inlinestaticconstexprinherited

◆ is_operation() [2/2]

template<typename Parent1, typename Parent2, Operation Op>
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool aie::binary_op_common< Parent1, Parent2, Op >::is_operation ( Operation op,
Operations... ops )
inlinestaticconstexprinherited

◆ is_operation_none() [1/2]

template<typename Parent1, typename Parent2, Operation Op>
static constexpr bool aie::binary_op_common< Parent1, Parent2, Op >::is_operation_none ( )
inlinestaticconstexprinherited

◆ is_operation_none() [2/2]

template<typename Parent1, typename Parent2, Operation Op>
static constexpr bool aie::binary_op_common< Parent1, Parent2, Op >::is_operation_none ( )
inlinestaticconstexprinherited

◆ is_operation_not() [1/2]

template<typename Parent1, typename Parent2, Operation Op>
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool aie::binary_op_common< Parent1, Parent2, Op >::is_operation_not ( Operation op,
Operations... ops )
inlinestaticconstexprinherited

◆ is_operation_not() [2/2]

template<typename Parent1, typename Parent2, Operation Op>
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool aie::binary_op_common< Parent1, Parent2, Op >::is_operation_not ( Operation op,
Operations... ops )
inlinestaticconstexprinherited

◆ operator()() [1/2]

template<TensorBufferStream Parent1, typename Parent2>
result_type aie::binary_op< Parent1, Parent2, Operation::Sign >::operator() ( ) const

◆ operator()() [2/2]

template<TensorBufferStream Parent1, typename Parent2>
result_type aie::binary_op< Parent1, Parent2, Operation::Sign >::operator() ( ) const

◆ parent1() [1/2]

auto aie::binary_op_common_const< Parent1, Parent2, Op >::parent1 ( ) const
inlineinherited

◆ parent1() [2/2]

auto & aie::binary_op_common_ref< Parent1, Parent2, Op >::parent1 ( )
inlineinherited

◆ parent2() [1/2]

auto aie::binary_op_common_const< Parent1, Parent2, Op >::parent2 ( ) const
inlineinherited

◆ parent2() [2/2]

auto aie::binary_op_common_ref< Parent1, Parent2, Op >::parent2 ( ) const
inlineinherited

◆ size() [1/2]

template<typename Parent1, typename Parent2, Operation Op>
static constexpr unsigned aie::binary_op_common< Parent1, Parent2, Op >::size ( )
inlinestaticconstexprinherited

◆ size() [2/2]

template<typename Parent1, typename Parent2, Operation Op>
static constexpr unsigned aie::binary_op_common< Parent1, Parent2, Op >::size ( )
inlinestaticconstexprinherited

Member Data Documentation

◆ operation [1/2]

template<typename Parent1, typename Parent2, Operation Op>
Operation aie::binary_op_common< Parent1, Parent2, Op >::operation = Op
staticconstexprinherited

◆ operation [2/2]

template<typename Parent1, typename Parent2, Operation Op>
Operation aie::binary_op_common< Parent1, Parent2, Op >::operation = Op
staticconstexprinherited

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