Home
last modified time | relevance | path

Searched refs:actual_value (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/lite/python/
Dlite_v2_test.py79 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
80 self.assertEqual(expected_value.numpy(), actual_value)
97 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
98 self.assertEqual(expected_value.numpy(), actual_value)
120 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
121 self.assertEqual(expected_value.numpy(), actual_value)
145 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
146 self.assertEqual(expected_value.numpy(), actual_value)
180 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
181 self.assertEqual(expected_value.numpy(), actual_value)
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_test_utils.py53 actual_value = metrics[key]
54 if actual_value < min_value:
55 raise ValueError('%s: %s < %s.' % (key, actual_value, min_value))
56 if actual_value > max_value:
57 raise ValueError('%s: %s > %s.' % (key, actual_value, max_value))
/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants_test.py95 actual_value = self._evaluateGraphDef(constant_graph_def, input_func,
97 self.assertEqual(expected_value.numpy(), actual_value)
120 actual_value = self._evaluateGraphDef(constant_graph_def, input_func,
122 self.assertEqual(expected_value.numpy(), actual_value)
150 actual_value = self._evaluateGraphDef(constant_graph_def, input_func,
152 self.assertEqual(expected_value.numpy(), actual_value)
191 actual_value = self._evaluateGraphDef(constant_graph_def, input_func,
193 self.assertEqual(expected_value.numpy(), actual_value)
219 actual_value = self._evaluateGraphDef(constant_graph_def, input_func,
221 self.assertEqual(expected_value.numpy(), actual_value)
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dfirmware_summary_unittest.py237 actual_value = result.stat_metrics.stats_values[metric_name]
238 self.assertAlmostEqual(actual_value, expected_value)
247 actual_value = final_weighted_average[fw]
248 actual_value = round(actual_value, self._round_digits)
249 self.assertAlmostEqual(actual_value, expected_value)
Dvalidators_unittest.py648 actual_value = vlog.metrics[i].value
649 if isinstance(actual_value, tuple):
650 self.assertEqual(actual_value, expected_values[i])
652 self.assertAlmostEqual(actual_value, expected_values[i])
/external/toolchain-utils/bestflags/
Dflags_test.py84 actual_value = 'flag=%s' % value
86 assert test_value == actual_value
95 actual_value = 'flag'
96 assert test_value == actual_value
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pixelformat.c358 int actual_value; in score_pixelformats() local
360 if (!stw_query_attrib(index + 1, 0, attribute, &actual_value)) in score_pixelformats()
368 if (actual_value != expected_value) in score_pixelformats()
378 if (actual_value < expected_value) in score_pixelformats()
380 else if (actual_value > expected_value) in score_pixelformats()
381 scores[index].points -= (actual_value - expected_value) in score_pixelformats()
/external/autotest/server/site_tests/tast/testdata/
Dfake_tast.py47 actual_value = str(val)
48 if actual_value != expected_value:
50 (name, actual_value, expected_value))
/external/autotest/client/common_lib/cros/network/
Diw_runner.py336 actual_value = _get_all_link_keys(result.stdout).get(iw_link_key)
337 if actual_value is not None:
339 iw_link_key, actual_value)
340 return actual_value
/external/harfbuzz_ng/test/api/
Dtest-subset-glyf.c34 uint16_t actual_value = (raw_maxp[offset] << 8) + raw_maxp[offset + 1]; in check_maxp_field() local
35 g_assert_cmpuint(expected_value, ==, actual_value); in check_maxp_field()
/external/tensorflow/tensorflow/python/kernel_tests/
Dconv_ops_3d_test.py735 actual_value = self.evaluate(actual_grad)
737 self.assertShapeEqual(actual_value, actual_grad)
740 print("actual = ", actual_value)
741 self.assertArrayNear(expected_value.flatten(), actual_value.flatten(),
Dsets_test.py1250 for indices, expected_value, actual_value in zip(
1253 actual_value = actual_value.decode("utf-8")
1261 actual_set.add(actual_value)
/external/autotest/server/cros/network/
Dwifi_client.py497 actual_value = self.get_iw_link_value(iw_link_key)
499 if actual_value != desired_value:
503 actual_value))
/external/tensorflow/tensorflow/core/kernels/data/
Drange_dataset_op_test.cc110 int64 actual_value = out_tensors[i].flat<int64>()(0); in TEST_P() local
112 EXPECT_EQ(actual_value, expect_value); in TEST_P()
Dmap_dataset_op_test.cc150 int64 actual_value = out_tensors[i].flat<int64>()(0); in TEST_P() local
152 EXPECT_EQ(actual_value, expect_value); in TEST_P()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc169 NativeT actual_value = actual.Get<NativeT>(multi_index); in Equal() local
171 CompareEqual<NativeT>(expected_value, actual_value, multi_index); in Equal()
173 : MakeErrorStatus<NativeT>(expected_value, actual_value, in Equal()
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-internal.h277 const String& actual_value,
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h297 const String& actual_value,
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h306 const String& actual_value,
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h222 const std::string& actual_value,
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h222 const std::string& actual_value,
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h222 const std::string& actual_value,
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc1001 const String& actual_value, in EqFailure() argument
1005 if (actual_value != actual_expression) { in EqFailure()
1006 msg << "\n Actual: " << actual_value; in EqFailure()
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc1001 const String& actual_value, in EqFailure() argument
1005 if (actual_value != actual_expression) { in EqFailure()
1006 msg << "\n Actual: " << actual_value; in EqFailure()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc1002 const String& actual_value, in EqFailure() argument
1006 if (actual_value != actual_expression) { in EqFailure()
1007 msg << "\n Actual: " << actual_value; in EqFailure()

12