|
Expression Templates Library (ETL)
|
Standard implementation of the Binary Cross Entropy reduction. More...

Go to the source code of this file.
Functions | |
| template<typename O , typename L > | |
| value_t< O > | etl::impl::standard::bce_loss (const O &output, const L &labels, value_t< O > scale) |
| Returns the Binary Cross Entropy Loss. More... | |
| template<typename O , typename L > | |
| value_t< O > | etl::impl::standard::bce_error (const O &output, const L &labels, value_t< O > scale) |
| Returns the Binary Cross Entropy Error. More... | |
| template<typename O , typename L > | |
| std::pair< value_t< O >, value_t< O > > | etl::impl::standard::bce (const O &output, const L &labels, value_t< O > alpha, value_t< O > beta) |
| Returns the Binary Cross Entropy Loss and Error. More... | |
Standard implementation of the Binary Cross Entropy reduction.
| std::pair<value_t<O>, value_t<O> > etl::impl::standard::bce | ( | const O & | output, |
| const L & | labels, | ||
| value_t< O > | alpha, | ||
| value_t< O > | beta | ||
| ) |
Returns the Binary Cross Entropy Loss and Error.
| output | The outputs |
| labels | The labels |
| value_t<O> etl::impl::standard::bce_error | ( | const O & | output, |
| const L & | labels, | ||
| value_t< O > | scale | ||
| ) |
Returns the Binary Cross Entropy Error.
| output | The outputs |
| labels | The labels |
| value_t<O> etl::impl::standard::bce_loss | ( | const O & | output, |
| const L & | labels, | ||
| value_t< O > | scale | ||
| ) |
Returns the Binary Cross Entropy Loss.
| output | The outputs |
| labels | The labels |
1.8.13