Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
uni20::linalg::transform_op< Function > Struct Template Reference

Callable-carrying elementwise overwrite operation. More...

#include <operation_tags.hpp>

Public Attributes

Function function
 

Static Public Attributes

static constexpr std::string_view name = "transform"
 

Detailed Description

template<class Function>
struct uni20::linalg::transform_op< Function >

Callable-carrying elementwise overwrite operation.

The function is invoked as a const object. Backends may specialize on its concrete type while preserving one generic front-end API. Input elements are passed to the function as values.

Member Data Documentation

◆ function

template<class Function >
Function uni20::linalg::transform_op< Function >::function

◆ name

template<class Function >
constexpr std::string_view uni20::linalg::transform_op< Function >::name = "transform"
staticconstexpr

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