ArmNN
 24.08
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 45 of file ElementwiseFunction.cpp.

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

References BroadcastLoop::Unroll().


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