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

#include <ElementwiseFunction.hpp>

Public Types

using OutType = bool
using InType = bool

Public Member Functions

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

Detailed Description

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

Definition at line 55 of file ElementwiseFunction.hpp.

Member Typedef Documentation

◆ InType

template<typename Functor>
using InType = bool

Definition at line 58 of file ElementwiseFunction.hpp.

◆ OutType

template<typename Functor>
using OutType = bool

Definition at line 57 of file ElementwiseFunction.hpp.

Constructor & Destructor Documentation

◆ LogicalUnaryFunction()

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

Definition at line 57 of file ElementwiseFunction.cpp.

61{
62 BroadcastLoop(inShape, outShape).Unroll(Functor(), 0, inData, outData);
63}

References BroadcastLoop::Unroll().


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