ArmNN
 21.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 54 of file ElementwiseFunction.cpp.

References BroadcastLoop::Unroll().

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

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