ArmNN
 24.08
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

using InType = bool

Definition at line 58 of file ElementwiseFunction.hpp.

◆ OutType

using OutType = bool

Definition at line 57 of file ElementwiseFunction.hpp.

Constructor & Destructor Documentation

◆ LogicalUnaryFunction()

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

Definition at line 56 of file ElementwiseFunction.cpp.

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

References BroadcastLoop::Unroll().


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