Gelu Struct Reference#
ck_tile::element_wise::Gelu Struct Reference
#include <unary_element_wise_operation.hpp>
Public Member Functions | |
| template<typename Y, typename X> | |
| CK_TILE_HOST_DEVICE void | operator() (Y &y, const X &x) const |
| template<> | |
| CK_TILE_HOST_DEVICE void | operator() (float &y, const float &x) const |
| template<> | |
| CK_TILE_HOST_DEVICE void | operator() (ck_tile::fp16_t &y, const ck_tile::fp16_t &x) const |
Static Public Attributes | |
| static constexpr const char * | name = "Gelu" |
Member Function Documentation
◆ operator()() [1/3]
template<>
|
inline |
◆ operator()() [2/3]
template<>
|
inline |
◆ operator()() [3/3]
template<typename Y, typename X>
| CK_TILE_HOST_DEVICE void ck_tile::element_wise::Gelu::operator() | ( | Y & | y, |
| const X & | x ) const |
Member Data Documentation
◆ name
|
staticconstexpr |
The documentation for this struct was generated from the following file: