asgn
 
Loading...
Searching...
No Matches
dcnnasgn::mul_delta_functor< T1, T2, MUL > Struct Template Reference

Functor to multiply by a constant and add a fixed value. More...

#include <dcnnelements.hpp>

Public Member Functions

 mul_delta_functor (std::ptrdiff_t delta)
 
std::ptrdiff_t delta () const
 
tagged::index_class< T2 > operator() (const tagged::index_class< T1 > &ko) const
 

Static Public Attributes

static constexpr std::ptrdiff_t multiplier = MUL
 

Detailed Description

template<tagged::tag T1, tagged::tag T2, std::ptrdiff_t MUL>
struct dcnnasgn::mul_delta_functor< T1, T2, MUL >

Functor to multiply by a constant and add a fixed value.

Template Parameters
T1Input index tag
T2Output index tag
MULThe constant multiplier

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