Home
last modified time | relevance | path

Searched refs:test_function (Results 1 – 25 of 76) sorted by relevance

1234

/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/
Danf_test.py88 def test_function(): function
92 node, _ = parser.parse_entity(test_function, future_features=())
95 self.assertEqual(test_function(), result.test_function())
99 def test_function(x, y, z): function
108 self.assert_body_anfs_as_expected(expected_result, test_function)
112 def test_function(a, b, c, e, f, g): function
125 self.assert_body_anfs_as_expected(expected_result, test_function)
129 def test_function(b, c, d, e): function
139 self.assert_body_anfs_as_expected(expected_result, test_function)
143 def test_function(call_something, a, b, y, z, c, d, e, f, g, h, i): function
[all …]
/external/tensorflow/tensorflow/python/util/
Dtf_decorator_test.py71 def test_function(x): function
113 self.assertIs(test_function,
114 tf_decorator.TFDecorator('', test_function).decorated_target)
119 test_function).decorator_name)
123 tf_decorator.TFDecorator('', test_function,
133 tf_decorator.TFDecorator('', test_function, '',
138 tf_decorator.TFDecorator('', test_function).__name__)
141 if hasattr(tf_decorator.TFDecorator('', test_function), '__qualname__'):
143 tf_decorator.TFDecorator('', test_function).__qualname__)
147 tf_decorator.TFDecorator('', test_function).__doc__)
[all …]
/external/python/pybind11/tests/
Dtest_constants_and_functions.py12 assert m.test_function() == "test_function()"
13 assert m.test_function(7) == "test_function(7)"
14 assert m.test_function(m.MyEnum.EFirstEntry) == "test_function(enum=1)"
15 assert m.test_function(m.MyEnum.ESecondEntry) == "test_function(enum=2)"
17 assert m.test_function() == "test_function()"
18 assert m.test_function("abcd") == "test_function(char *)"
19 assert m.test_function(1, 1.0) == "test_function(int, float)"
20 assert m.test_function(1, 1.0) == "test_function(int, float)"
21 assert m.test_function(2.0, 2) == "test_function(float, int)"
Dtest_enum.cpp58 static EMode test_function(EMode mode) { in TEST_SUBMODULE() function in TEST_SUBMODULE::ClassWithUnscopedEnum
63 exenum_class.def_static("test_function", &ClassWithUnscopedEnum::test_function); in TEST_SUBMODULE()
/external/vixl/test/
Dtest-utils.cc52 void (*test_function)(void); in ExecuteMemory() local
55 VIXL_STATIC_ASSERT(sizeof(buffer) == sizeof(test_function)); in ExecuteMemory()
56 VIXL_STATIC_ASSERT(sizeof(uintptr_t) == sizeof(test_function)); in ExecuteMemory()
59 memcpy(&test_function, &entry_point, sizeof(test_function)); in ExecuteMemory()
74 test_function(); in ExecuteMemory()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Dfunction.pass.cpp29 void test_function() in test_function() function
39 test_function<void ()>(); in main()
40 test_function<void (int)>(); in main()
41 test_function<int (double)>(); in main()
42 test_function<int (double, char)>(); in main()
/external/llvm/test/Transforms/Inline/
Dexternally_available.ll2 ; RUN: not grep test_function %t
6 ; test_function should not be emitted to the .s file.
7 define available_externally i32 @test_function() {
13 %A = call i32 @test_function()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtransformer_test.py77 def test_function(a): function
90 node, _ = parser.parse_entity(test_function, future_features=())
136 def test_function(a): function
144 node, _ = parser.parse_entity(test_function, future_features=())
173 def test_function(x, y): function
180 node, _ = parser.parse_entity(test_function, future_features=())
204 def test_function(x): function
210 node, _ = parser.parse_entity(test_function, future_features=())
235 def test_function(x): function
241 node, _ = parser.parse_entity(test_function, future_features=())
/external/linux-kselftest/tools/testing/selftests/powerpc/
Dharness.c27 int run_test(int (test_function)(void), char *name) in run_test()
39 exit(test_function()); in run_test()
104 int test_harness(int (test_function)(void), char *name) in test_harness()
123 rc = run_test(test_function, name); in test_harness()
/external/compiler-rt/test/asan/TestCases/Windows/
Ddll_host.cc42 typedef int (*test_function)(); in main() typedef
43 test_function gf = (test_function)GetProcAddress(h, "test_function"); in main()
/external/llvm/test/Transforms/GlobalDCE/
Dexternally_available.ll3 ; test_function should not be emitted to the .s file.
4 ; CHECK-NOT: test_function
5 define available_externally i32 @test_function() {
/external/libchrome/base/
Dscoped_native_library_unittest.cc36 FARPROC test_function = in TEST() local
38 EXPECT_EQ(0, IsBadCodePtr(test_function)); in TEST()
41 test_function); in TEST()
/external/llvm/test/CodeGen/X86/
Dmisched-code-difference-with-debug.ll27 declare i32 @test_function(%class.C*, i8 signext, i8 signext, i8 signext, ...)
37 …%call = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signex…
39 …%call2 = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signe…
53 …%call = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signex…
56 …%call2 = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signe…
/external/llvm/test/CodeGen/Generic/
Dexternally_available.ll3 ; test_function should not be emitted to the .s file.
4 define available_externally i32 @test_function() {
/external/libepoxy/test/
Dwgl_core_and_exts.c30 test_function(HDC hdc) in test_function() function
76 make_window_and_test(test_function); in main()
Dwgl_usefontbitmaps.c30 test_function(HDC hdc) in test_function() function
70 make_window_and_test(test_function); in main()
Dwgl_per_context_funcptrs.c121 test_function(HDC hdc) in test_function() function
161 make_window_and_test(test_function); in main()
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.assign/
Dcopy_assign.pass.cpp38 test_function() in test_function() function
50 test_function(); in main()
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_v1.py388 if self.merged not in self.model.test_function.fetches:
389 self.model.test_function.fetches.append(self.merged)
390 self.model.test_function.fetch_callbacks[
411 if self.merged in self.model.test_function.fetches:
412 self.model.test_function.fetches.remove(self.merged)
413 if self.merged in self.model.test_function.fetch_callbacks:
414 self.model.test_function.fetch_callbacks.pop(self.merged)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py613 self.test_function = None
1306 if self.test_function is not None:
1307 return self.test_function
1327 def test_function(iterator): function
1333 def test_function(iterator): function
1340 test_function = def_function.function(
1341 test_function, experimental_relax_shapes=True)
1343 self.test_function = test_function
1346 …self.test_function = lambda iterator: self._cluster_coordinator.schedule( # pylint: disable=g-lon…
1347 test_function, args=(iterator,))
[all …]
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_hotplug_test.sh216 "$test_function" "$@"
239 test_function="root_cpu_hotplug_test"
255 test_function="general_cpu_hotplug_test"
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c41 static void test_function(void) in test_function() function
82 .test_all = test_function,
/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_op_function.cpp20 int test_function(cl_device_id deviceID, in test_function() function
77 return test_function(deviceID, \
/external/clang/test/Sema/
Dwarn-documentation.cpp652 unsigned test_function(Base64Flags inFlags);
1113 template <class T> T test_function (T arg);
1117 template <> int test_function<int> (int arg);
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
Dlib.c116 pid_t eat_cpu(int (test_function)(void)) in eat_cpu()
143 rc = test_function(); in eat_cpu()

1234