ArmNN
 24.08
floorDiv< T > Struct Template Reference

#include <Maximum.hpp>

Public Types

typedef T result_type
 
typedef T first_argument_type
 

Public Member Functions

operator() (const T &inputData0, const T &inputData1) const
 

Detailed Description

template<typename T>
struct armnn::floorDiv< T >

Definition at line 25 of file Maximum.hpp.

Member Typedef Documentation

◆ first_argument_type

Definition at line 28 of file Maximum.hpp.

◆ result_type

typedef T result_type

Definition at line 27 of file Maximum.hpp.

Member Function Documentation

◆ operator()()

T operator() ( const T &  inputData0,
const T &  inputData1 
) const
inline

Definition at line 30 of file Maximum.hpp.

31  {
32  double result = static_cast<double>(inputData0)/static_cast<double>(inputData1);
33  return static_cast<T>(std::floor(result));
34  }

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