ArmNN
 24.02
power< T > Struct Template Reference

#include <Power.hpp>

Public Types

typedef T result_type
 
typedef T first_argument_type
 

Public Member Functions

operator() (const T &input1, const T &input2) const
 

Detailed Description

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

Definition at line 14 of file Power.hpp.

Member Typedef Documentation

◆ first_argument_type

Definition at line 17 of file Power.hpp.

◆ result_type

typedef T result_type

Definition at line 16 of file Power.hpp.

Member Function Documentation

◆ operator()()

T operator() ( const T &  input1,
const T &  input2 
) const
inline

Definition at line 20 of file Power.hpp.

21  {
22  T power = armnn::numeric_cast<T>(std::pow(static_cast<float>(input1), static_cast<float>(input2)));
23  return power;
24  }

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