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

EGBLAS wrappers for the mse 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::mse_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::mse_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::mse_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::mse_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::mse ([[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 mse operation. More...
 
std::pair< double, double > etl::impl::egblas::mse ([[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 mse operation. More...
 

Detailed Description

EGBLAS wrappers for the mse operations.

Function Documentation

◆ mse() [1/2]

std::pair<float, float> etl::impl::egblas::mse ( [[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 mse 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

◆ mse() [2/2]

std::pair<double, double> etl::impl::egblas::mse ( [[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 mse 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

◆ mse_error() [1/2]

float etl::impl::egblas::mse_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

◆ mse_error() [2/2]

double etl::impl::egblas::mse_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

◆ mse_loss() [1/2]

float etl::impl::egblas::mse_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

◆ mse_loss() [2/2]

double etl::impl::egblas::mse_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