Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
uni20::linalg::constant< Value > Struct Template Reference

Nullary elementwise function that returns one retained value. More...

#include <elementwise_functions.hpp>

Public Member Functions

UNI20_HOST_DEVICE constexpr auto operator() () const -> Value
 

Public Attributes

Value value
 

Detailed Description

template<class Value>
struct uni20::linalg::constant< Value >

Nullary elementwise function that returns one retained value.

Template Parameters
ValueStored value type.

Member Function Documentation

◆ operator()()

template<class Value >
UNI20_HOST_DEVICE constexpr auto uni20::linalg::constant< Value >::operator() ( ) const -> Value
inlineconstexpr

Member Data Documentation

◆ value

template<class Value >
Value uni20::linalg::constant< Value >::value

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