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

Standard implementation of the outer product. More...

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

Go to the source code of this file.

Functions

template<typename V , typename L , typename R , typename C >
void etl::impl::vec::bias_add_4d_impl (const L &x, const R &b, C &&y)
 Compute the bias addition of b into x and store the result in y. More...
 
template<typename V , typename L , typename R , typename C >
void etl::impl::vec::bias_add_2d_impl (const L &x, const R &b, C &&y)
 Compute the bias addition of b into x and store the result in y. More...
 
template<typename A , typename B , typename C >
void etl::impl::vec::bias_add_4d (const A &x, const B &b, C &&y)
 Compute the bias addition of b into x and store the result in y. More...
 
template<typename A , typename B , typename C >
void etl::impl::vec::bias_add_2d (const A &x, const B &b, C &&y)
 Compute the bias addition of b into x and store the result in y. More...
 

Detailed Description

Standard implementation of the outer product.

Function Documentation

◆ bias_add_2d()

template<typename A , typename B , typename C >
void etl::impl::vec::bias_add_2d ( const A &  x,
const B &  b,
C &&  y 
)

Compute the bias addition of b into x and store the result in y.

Parameters
xThe a expression
bThe b expression
yThe c expression

◆ bias_add_2d_impl()

template<typename V , typename L , typename R , typename C >
void etl::impl::vec::bias_add_2d_impl ( const L &  x,
const R &  b,
C &&  y 
)

Compute the bias addition of b into x and store the result in y.

Parameters
xThe a expression
bThe b expression
yThe c expression

◆ bias_add_4d()

template<typename A , typename B , typename C >
void etl::impl::vec::bias_add_4d ( const A &  x,
const B &  b,
C &&  y 
)

Compute the bias addition of b into x and store the result in y.

Parameters
xThe a expression
bThe b expression
yThe c expression

◆ bias_add_4d_impl()

template<typename V , typename L , typename R , typename C >
void etl::impl::vec::bias_add_4d_impl ( const L &  x,
const R &  b,
C &&  y 
)

Compute the bias addition of b into x and store the result in y.

Parameters
xThe a expression
bThe b expression
yThe c expression