Power Struct Reference

Power Struct Reference#

Composable Kernel: ck_tile::element_wise::Power Struct Reference
ck_tile::element_wise::Power Struct Reference

#include <unary_element_wise_operation.hpp>

Public Member Functions

 Power (float alpha=0.f, float beta=1.f, float gamma=2.f)
template<typename T>
CK_TILE_HOST_DEVICE void operator() (T &y, const T &x) const

Public Attributes

const float alpha_
const float beta_
const float gamma_

Static Public Attributes

static constexpr const char * name = "Power"

Constructor & Destructor Documentation

◆ Power()

ck_tile::element_wise::Power::Power ( float alpha = 0.f,
float beta = 1.f,
float gamma = 2.f )
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ alpha_

const float ck_tile::element_wise::Power::alpha_

◆ beta_

const float ck_tile::element_wise::Power::beta_

◆ gamma_

const float ck_tile::element_wise::Power::gamma_

◆ name

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

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