Lines Matching refs:T
49 template <typename T>
50 void TestAddN(int* input_dims_data, const T* const* input_data, in TestAddN()
51 int input_data_count, int* expected_dims, const T* expected_data, in TestAddN()
52 T* output_data) { in TestAddN()
73 template <typename T, int kNumInputs, int kOutputSize>
77 T input_data[kNumInputs][kOutputSize]; // quantized input storage
78 T output_data[kOutputSize]; // quantized output storage
82 template <typename T>
86 (std::numeric_limits<T>::max() - std::numeric_limits<T>::min()); in GetTolerance()
90 template <typename T, int kNumInputs, int kOutputSize>
91 void TestAddNQuantized(TestQuantParams<T, kNumInputs, kOutputSize>* params, in TestAddNQuantized() argument
100 const float scale = ScaleFromMinMax<T>(params->data_min, params->data_max); in TestAddNQuantized()
102 ZeroPointFromMinMax<T>(params->data_min, params->data_max); in TestAddNQuantized()
115 const float kTolerance = GetTolerance<T>(params->data_min, params->data_max); in TestAddNQuantized()