Expression Templates Library (ETL)
Functions
bias_add.hpp File Reference

Standard implementation of the bias_add computation. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename A , typename B , typename C >
void etl::impl::standard::bias_add_4d (const A &lhs, const B &rhs, C &&c)
 Compute the bias addition of a and b and store the result in c. More...
 
template<typename A , typename B , typename C >
void etl::impl::standard::bias_add_2d (const A &lhs, const B &rhs, C &&c)
 Compute the bias addition of a and b and store the result in c. More...
 

Detailed Description

Standard implementation of the bias_add computation.

Function Documentation

◆ bias_add_2d()

template<typename A , typename B , typename C >
void etl::impl::standard::bias_add_2d ( const A &  lhs,
const B &  rhs,
C &&  c 
)

Compute the bias addition of a and b and store the result in c.

Parameters
lhsThe a expression
rhsThe b expression
cThe c expression

◆ bias_add_4d()

template<typename A , typename B , typename C >
void etl::impl::standard::bias_add_4d ( const A &  lhs,
const B &  rhs,
C &&  c 
)

Compute the bias addition of a and b and store the result in c.

Parameters
lhsThe a expression
rhsThe b expression
cThe c expression