ArmNN
 22.02
LogicalBinaryFunction< Functor > Struct Template Reference

#include <ElementwiseFunction.hpp>

Public Types

using OutType = bool
 
using InType = bool
 

Public Member Functions

 LogicalBinaryFunction (const TensorShape &inShape0, const TensorShape &inShape1, const TensorShape &outShape, Decoder< InType > &inData0, Decoder< InType > &inData1, Encoder< OutType > &outData)
 

Detailed Description

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

Definition at line 41 of file ElementwiseFunction.hpp.

Member Typedef Documentation

◆ InType

using InType = bool

Definition at line 44 of file ElementwiseFunction.hpp.

◆ OutType

using OutType = bool

Definition at line 43 of file ElementwiseFunction.hpp.

Constructor & Destructor Documentation

◆ LogicalBinaryFunction()

LogicalBinaryFunction ( const TensorShape inShape0,
const TensorShape inShape1,
const TensorShape outShape,
Decoder< InType > &  inData0,
Decoder< InType > &  inData1,
Encoder< OutType > &  outData 
)

Definition at line 43 of file ElementwiseFunction.cpp.

References BroadcastLoop::Unroll().

49 {
50  BroadcastLoop(inShape0, inShape1, outShape).Unroll(Functor(), 0, inData0, inData1, outData);
51 }

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