Home
last modified time | relevance | path

Searched refs:reference_output (Results 1 – 5 of 5) sorted by relevance

/external/toolchain-utils/fdo_scripts/
Ddivide_and_merge_profiles_test.py77 reference_output = self._getReferenceOutput()
80 ret = self._diffOutputs(reference_output, my_output)
82 shutil.rmtree(reference_output)
103 reference_output = tempfile.mkdtemp()
106 reference_output, args))
108 return reference_output
116 reference_output = self._getReferenceOutput(args)
119 ret = self._diffOutputs(reference_output, my_output)
122 shutil.rmtree(reference_output)
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlog_quantized_test.cc71 const std::vector<int32>& reference_output, in CheckOutputData() argument
81 ASSERT_EQ(n, reference_output.size()); in CheckOutputData()
90 ASSERT_LE(std::abs(test_output[i] - reference_output[i]), in CheckOutputData()
98 << ", reference_output[i]=" << reference_output[i] << "=" in CheckOutputData()
99 << static_cast<double>(reference_output[i]) / in CheckOutputData()
101 << ", difference[i]=" << std::abs(reference_output[i] - test_output[i]) in CheckOutputData()
103 << static_cast<double>(std::abs(reference_output[i] - test_output[i])) / in CheckOutputData()
Dsoftmax_quantized_test.cc64 void CheckOutputData(const uint8* test_output, const uint8* reference_output, in CheckOutputData() argument
74 diff[i] = static_cast<int>(test_output[i]) - reference_output[i]; in CheckOutputData()
Dlogsoftmax_quantized_test.cc101 void CheckOutputData(const T* test_output, const T* reference_output, in CheckOutputData() argument
111 diff[i] = static_cast<int>(test_output[i]) - reference_output[i]; in CheckOutputData()
/external/tensorflow/tensorflow/contrib/resampler/python/ops/
Dresampler_ops_test.py149 reference_output = np.zeros_like(out)
152 reference_output[batch, :, :, c] = _bilinearly_interpolate(
157 self.assertAllClose(out, reference_output, rtol=tol, atol=tol)