ArmNN
 25.11
Loading...
Searching...
No Matches
ElementwiseUnaryFunction< Functor > Struct Template Reference

#include <ElementwiseFunction.hpp>

Public Types

using OutType = typename Functor::result_type
using InType = typename Functor::argument_type

Public Member Functions

 ElementwiseUnaryFunction (const TensorShape &inShape, const TensorShape &outShape, Decoder< InType > &inData, Encoder< OutType > &outData)

Detailed Description

template<typename Functor>
struct armnn::ElementwiseUnaryFunction< Functor >

Definition at line 29 of file ElementwiseFunction.hpp.

Member Typedef Documentation

◆ InType

template<typename Functor>
using InType = typename Functor::argument_type

Definition at line 32 of file ElementwiseFunction.hpp.

◆ OutType

template<typename Functor>
using OutType = typename Functor::result_type

Definition at line 31 of file ElementwiseFunction.hpp.

Constructor & Destructor Documentation

◆ ElementwiseUnaryFunction()

template<typename Functor>
ElementwiseUnaryFunction ( const TensorShape & inShape,
const TensorShape & outShape,
Decoder< InType > & inData,
Encoder< OutType > & outData )

Definition at line 37 of file ElementwiseFunction.cpp.

41{
42 BroadcastLoop(inShape, outShape).Unroll(Functor(), 0, inData, outData);
43}

References BroadcastLoop::Unroll().


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