#include <SquaredDifference.hpp>
|
T | operator() (const T &input1, const T &input2) const |
|
template<typename T>
struct armnn::squaredDifference< T >
Definition at line 14 of file SquaredDifference.hpp.
◆ first_argument_type
◆ result_type
◆ operator()()
T operator() |
( |
const T & |
input1, |
|
|
const T & |
input2 |
|
) |
| const |
|
inline |
Definition at line 20 of file SquaredDifference.hpp.
22 float diff = std::minus<>{}(
static_cast<float>(input1),
static_cast<float>(input2));
23 T squaredDiff = armnn::numeric_cast<T>(std::pow(
static_cast<float>(diff), 2));
The documentation for this struct was generated from the following file: