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

EGBLAS wrappers for the bce operations. More...

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

Go to the source code of this file.

Functions

float etl::impl::egblas::bce_loss ([[maybe_unused]] size_t n, [[maybe_unused]] float alpha, [[maybe_unused]] const float *A, [[maybe_unused]] size_t lda, [[maybe_unused]] const float *B, [[maybe_unused]] size_t ldb)
 Wrappers for single-precision egblas log operation. More...
 
double etl::impl::egblas::bce_loss ([[maybe_unused]] size_t n, [[maybe_unused]] double alpha, [[maybe_unused]] const double *A, [[maybe_unused]] size_t lda, [[maybe_unused]] const double *B, [[maybe_unused]] size_t ldb)
 Wrappers for double-precision egblas log operation. More...
 
float etl::impl::egblas::bce_error ([[maybe_unused]] size_t n, [[maybe_unused]] float alpha, [[maybe_unused]] const float *A, [[maybe_unused]] size_t lda, [[maybe_unused]] const float *B, [[maybe_unused]] size_t ldb)
 Wrappers for single-precision egblas log operation. More...
 
double etl::impl::egblas::bce_error ([[maybe_unused]] size_t n, [[maybe_unused]] double alpha, [[maybe_unused]] const double *A, [[maybe_unused]] size_t lda, [[maybe_unused]] const double *B, [[maybe_unused]] size_t ldb)
 Wrappers for double-precision egblas log operation. More...
 
std::pair< float, float > etl::impl::egblas::bce ([[maybe_unused]] size_t n, [[maybe_unused]] float alpha, [[maybe_unused]] float beta, [[maybe_unused]] const float *A, [[maybe_unused]] size_t lda, [[maybe_unused]] const float *B, [[maybe_unused]] size_t ldb)
 Wrappers for single-precision egblas bce operation. More...
 
std::pair< double, double > etl::impl::egblas::bce ([[maybe_unused]] size_t n, [[maybe_unused]] double alpha, [[maybe_unused]] double beta, [[maybe_unused]] const double *A, [[maybe_unused]] size_t lda, [[maybe_unused]] const double *B, [[maybe_unused]] size_t ldb)
 Wrappers for single-precision egblas bce operation. More...
 

Detailed Description

EGBLAS wrappers for the bce operations.

Function Documentation

◆ bce() [1/2]

std::pair<float, float> etl::impl::egblas::bce ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] float  alpha,
[[maybe_unused] ] float  beta,
[[maybe_unused] ] const float *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] const float *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for single-precision egblas bce operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ bce() [2/2]

std::pair<double, double> etl::impl::egblas::bce ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] double  alpha,
[[maybe_unused] ] double  beta,
[[maybe_unused] ] const double *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] const double *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for single-precision egblas bce operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ bce_error() [1/2]

float etl::impl::egblas::bce_error ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] float  alpha,
[[maybe_unused] ] const float *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] const float *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for single-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ bce_error() [2/2]

double etl::impl::egblas::bce_error ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] double  alpha,
[[maybe_unused] ] const double *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] const double *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for double-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ bce_loss() [1/2]

float etl::impl::egblas::bce_loss ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] float  alpha,
[[maybe_unused] ] const float *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] const float *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for single-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ bce_loss() [2/2]

double etl::impl::egblas::bce_loss ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] double  alpha,
[[maybe_unused] ] const double *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] const double *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for double-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b