Logistic Struct Reference

Logistic Struct Reference#

Composable Kernel: ck_tile::element_wise::Logistic Struct Reference
ck_tile::element_wise::Logistic Struct Reference

#include <unary_element_wise_operation.hpp>

Public Member Functions

 Logistic (float alpha=1.f)
template<typename T>
CK_TILE_HOST_DEVICE void operator() (T &y, const T &x) const

Public Attributes

const float alpha_

Static Public Attributes

static constexpr const char * name = "Logistic"

Constructor & Destructor Documentation

◆ Logistic()

ck_tile::element_wise::Logistic::Logistic ( float alpha = 1.f)
inline

Member Function Documentation

◆ operator()()

template<typename T>
CK_TILE_HOST_DEVICE void ck_tile::element_wise::Logistic::operator() ( T & y,
const T & x ) const
inline

Member Data Documentation

◆ alpha_

const float ck_tile::element_wise::Logistic::alpha_

◆ name

const char* ck_tile::element_wise::Logistic::name = "Logistic"
staticconstexpr

The documentation for this struct was generated from the following file: