#include <unary_element_wise_operation.hpp>
|
| | LeakyRelu (float alpha=0.01f) |
| template<typename T> |
| __host__ __device__ void | operator() (T &y, const T &x) const |
| template<typename Y, typename X> |
| __host__ __device__ constexpr void | operator() (Y &y, const X &x) const |
| template<> |
| __host__ __device__ void | operator() (bhalf_t &y, const float &x) const |
|
| static constexpr const char * | name = "LeakyRelu" |
◆ LeakyRelu()
| ck::tensor_operation::element_wise::LeakyRelu::LeakyRelu |
( |
float | alpha = 0.01f | ) |
|
|
inline |
◆ operator()() [1/3]
template<>
| __host__ __device__ void ck::tensor_operation::element_wise::LeakyRelu::operator() |
( |
bhalf_t & | y, |
|
|
const float & | x ) const |
|
inline |
◆ operator()() [2/3]
template<typename T>
| __host__ __device__ void ck::tensor_operation::element_wise::LeakyRelu::operator() |
( |
T & | y, |
|
|
const T & | x ) const |
|
inline |
◆ operator()() [3/3]
template<typename Y, typename X>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::LeakyRelu::operator() |
( |
Y & | y, |
|
|
const X & | x ) const |
|
constexpr |
◆ alpha_
| const float ck::tensor_operation::element_wise::LeakyRelu::alpha_ |
◆ name
| const char* ck::tensor_operation::element_wise::LeakyRelu::name = "LeakyRelu" |
|
staticconstexpr |
The documentation for this struct was generated from the following file: