#include <binary_element_wise_operation.hpp>
|
| __host__ __device__ | ScaleAdd (float scale=1.f) |
| template<typename Y, typename X0, typename X1> |
| __host__ __device__ constexpr void | operator() (Y &y, const X0 &x0, const X1 &x1) const |
| template<> |
| __host__ __device__ void | operator() (float &y, const float &x0, const half_t &x1) const |
| template<> |
| __host__ __device__ void | operator() (float &y, const float &x0, const bhalf_t &x1) const |
|
| static constexpr const char * | name = "ScaleAdd" |
◆ ScaleAdd()
| __host__ __device__ ck::tensor_operation::element_wise::ScaleAdd::ScaleAdd |
( |
float | scale = 1.f | ) |
|
|
inline |
◆ operator()() [1/3]
template<>
| __host__ __device__ void ck::tensor_operation::element_wise::ScaleAdd::operator() |
( |
float & | y, |
|
|
const float & | x0, |
|
|
const bhalf_t & | x1 ) const |
|
inline |
◆ operator()() [2/3]
template<>
| __host__ __device__ void ck::tensor_operation::element_wise::ScaleAdd::operator() |
( |
float & | y, |
|
|
const float & | x0, |
|
|
const half_t & | x1 ) const |
|
inline |
◆ operator()() [3/3]
template<typename Y, typename X0, typename X1>
| __host__ __device__ constexpr void ck::tensor_operation::element_wise::ScaleAdd::operator() |
( |
Y & | y, |
|
|
const X0 & | x0, |
|
|
const X1 & | x1 ) const |
|
inlineconstexpr |
◆ name
| const char* ck::tensor_operation::element_wise::ScaleAdd::name = "ScaleAdd" |
|
staticconstexpr |
◆ scale_
| float ck::tensor_operation::element_wise::ScaleAdd::scale_ |
The documentation for this struct was generated from the following file: