Home
last modified time | relevance | path

Searched refs:add_function (Results 1 – 25 of 100) sorted by relevance

1234

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_api_info_test.cc77 "", func_lib->add_function()); in PopulateSampleLibrary()
80 "", func_lib->add_function()); in PopulateSampleLibrary()
82 func_lib->add_function()); in PopulateSampleLibrary()
84 func_lib->add_function()); in PopulateSampleLibrary()
86 func_lib->add_function()); in PopulateSampleLibrary()
96 "DoStuffCpu_gradient", func_lib->add_function()); in PopulateComplexLibrary()
98 input_args, "DoStuffCpu", "", func_lib->add_function()); in PopulateComplexLibrary()
101 func_lib->add_function()); in PopulateComplexLibrary()
103 input_args, "DoStuffGpu", "", func_lib->add_function()); in PopulateComplexLibrary()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp936 void add_function(const char *name, ...);
1355 add_function("__intrinsic_atomic_read", in create_intrinsics()
1359 add_function("__intrinsic_atomic_increment", in create_intrinsics()
1363 add_function("__intrinsic_atomic_predecrement", in create_intrinsics()
1368 add_function("__intrinsic_atomic_add", in create_intrinsics()
1384 add_function("__intrinsic_atomic_min", in create_intrinsics()
1403 add_function("__intrinsic_atomic_max", in create_intrinsics()
1422 add_function("__intrinsic_atomic_and", in create_intrinsics()
1438 add_function("__intrinsic_atomic_or", in create_intrinsics()
1454 add_function("__intrinsic_atomic_xor", in create_intrinsics()
[all …]
Dlower_int64.cpp85 add_function(f); in lower_64bit_visitor()
96 void add_function(ir_function *f) in add_function() function in __anon28371f140111::lower_64bit_visitor
339 add_function(f); in handle_op()
Dglsl_symbol_table.h69 bool add_function(ir_function *f);
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfusion_utils_test.cc56 auto *parent_function = graph.mutable_library()->add_function(); in TEST()
58 auto *function = graph.mutable_library()->add_function(); in TEST()
94 auto *xtimes_two = graph.mutable_library()->add_function(); in TEST()
96 auto *is_zero = graph.mutable_library()->add_function(); in TEST()
134 auto *parent_function = graph.mutable_library()->add_function(); in TEST()
136 auto *function = graph.mutable_library()->add_function(); in TEST()
152 auto *function = graph.mutable_library()->add_function(); in TEST()
Dgraph_utils_test.cc177 FunctionDef* new_function = library.add_function(); in TEST()
211 FunctionDef* new_function = library.add_function(); in TEST()
269 FunctionDef* new_function = library.add_function(); in TEST()
272 FunctionDef* other_function = library.add_function(); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_functional_ops_test.cc143 *f_lib_proto.add_function() = test::function::XTimesTwo(); in TEST()
144 *f_lib_proto.add_function() = test::function::XTimesFour(); in TEST()
146 *f_lib_proto.add_function() = WhileWithIfCond(3); in TEST()
147 *f_lib_proto.add_function() = WhileWithIfBody(); in TEST()
253 *f_lib_proto.add_function() = test::function::XTimesTwo(); in TEST()
254 *f_lib_proto.add_function() = test::function::LessThanOrEqualToN(8); in TEST()
255 *f_lib_proto.add_function() = IfWithWhileThen(); in TEST()
Dlower_case_op_test.cc70 *(f_lib_proto.add_function()) = test::function::XTimesTwo(); in TEST()
71 *(f_lib_proto.add_function()) = test::function::XTimesFour(); in TEST()
72 *(f_lib_proto.add_function()) = test::function::XTimes16(); in TEST()
205 *(f_lib_proto.add_function()) = assign_add("AddOne", 1); in TEST()
206 *(f_lib_proto.add_function()) = assign_add("AddTwo", 2); in TEST()
207 *(f_lib_proto.add_function()) = assign_add("AddTen", 10); in TEST()
339 *(f_lib_proto.add_function()) = x_times_two; in TEST()
340 *(f_lib_proto.add_function()) = x_times_four; in TEST()
341 *(f_lib_proto.add_function()) = x_times_16; in TEST()
Dlower_while_op_test.cc62 *f_lib_proto.add_function() = test::function::XTimesTwo(); in TEST()
63 *f_lib_proto.add_function() = test::function::LessThanOrEqualToN(8); in TEST()
179 *f_lib_proto.add_function() = test::function::XTimesTwo(); in TEST()
180 *f_lib_proto.add_function() = test::function::LessThanOrEqualToN(8); in TEST()
272 *f_lib_proto.add_function() = test::function::XTimesTwo(); in TEST()
273 *f_lib_proto.add_function() = test::function::LessThanOrEqualToN(8); in TEST()
411 *(f_lib_proto.add_function()) = test::function::XPlusOneXTimesY(); in TEST()
412 *(f_lib_proto.add_function()) = test::function::XYXLessThanOrEqualToN(4); in TEST()
527 *f_lib_proto.add_function() = x_times_two; in TEST()
528 *f_lib_proto.add_function() = less_than_or_eq; in TEST()
Dlower_if_op_test.cc68 *(f_lib_proto.add_function()) = test::function::XTimesTwo(); in TEST()
69 *(f_lib_proto.add_function()) = test::function::XTimesFour(); in TEST()
174 *(f_lib_proto.add_function()) = assign_add("AddOne", 1); in TEST()
175 *(f_lib_proto.add_function()) = assign_add("AddTwo", 2); in TEST()
271 *(f_lib_proto.add_function()) = x_times_two; in TEST()
272 *(f_lib_proto.add_function()) = x_times_four; in TEST()
Dlower_function_call_op_test.cc79 *(f_lib_proto.add_function()) = in TEST()
148 *(f_lib_proto.add_function()) = test::function::XTimesTwo(); in TEST()
/external/tensorflow/tensorflow/compiler/jit/
Dcompilability_check_util_test.cc151 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
192 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
202 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
272 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
279 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
373 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
380 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
435 *library.add_function() = identity_func; in TEST_F()
463 *library.add_function() = sort_func; in TEST_F()
511 *library.add_function() = identity_func; in TEST_F()
[all …]
Drearrange_function_argument_pass_test.cc54 FunctionDef *xla_fdef = fdl.add_function(); in TEST()
69 FunctionDef *xla_fdef = fdl.add_function(); in TEST()
82 FunctionDef *xla_fdef = fdl.add_function(); in TEST()
187 FunctionDef *xla_fdef = fdl.add_function(); in TEST()
202 FunctionDef *xla_fdef = fdl.add_function(); in TEST()
Dextract_outside_compilation_pass_test.cc286 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
404 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
445 FunctionDef *true_fn_fdef = fdl.add_function(); in TEST_F()
461 FunctionDef *false_fn_fdef = fdl.add_function(); in TEST_F()
479 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
596 FunctionDef *cond_fn_fdef = fdl.add_function(); in TEST_F()
612 FunctionDef *body_fn_fdef = fdl.add_function(); in TEST_F()
629 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
723 FunctionDef *true_fn_fdef = fdl.add_function(); in TEST_F()
765 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
[all …]
Dencapsulate_subgraphs_pass_test.cc58 FunctionDef* fdef = library->add_function(); in AddGraphDefToFunctionLibrary()
570 *library_in.add_function() = test::function::XTimesTwo(); in TEST()
587 *library.add_function() = test::function::XTimesTwo(); in TEST()
606 *library_expected.add_function() = test::function::XTimesTwo(); in TEST()
607 *library_expected.add_function() = FunctionDefHelper::Create( in TEST()
640 *library.add_function() = test::function::XTimesTwo(); in TEST()
661 *library_expected.add_function() = test::function::XTimesTwo(); in TEST()
662 *library_expected.add_function() = FunctionDefHelper::Create( in TEST()
668 *library_expected.add_function() = FunctionDefHelper::Create( in TEST()
869 *library.add_function() = test::function::XTimesTwo(); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/
Dhash_utils_test.cc88 FunctionDef* f1 = fl.add_function(); in TEST_F()
96 FunctionDef* f2 = fl.add_function(); in TEST_F()
111 FunctionDef* f1 = fl.add_function(); in TEST_F()
119 FunctionDef* f2 = fl.add_function(); in TEST_F()
137 FunctionDef* f1 = fl.add_function(); in TEST_F()
145 FunctionDef* f2 = fl.add_function(); in TEST_F()
480 FunctionDef* f1 = fl1->add_function(); in TEST_F()
488 FunctionDef* f2 = fl1->add_function(); in TEST_F()
544 FunctionDef* f1 = fl1->add_function(); in TEST_F()
552 FunctionDef* f2 = fl1->add_function(); in TEST_F()
[all …]
Ddataset_utils_test.cc185 *fdef_base.add_function() = make_fn_a("0"); in TEST()
186 *fdef_base.add_function() = make_fn_a("1"); in TEST()
187 *fdef_base.add_function() = make_fn_a("2"); in TEST()
190 *fdef_to_add.add_function() = make_fn_b("0"); // Override in TEST()
191 *fdef_to_add.add_function() = make_fn_a("1"); // Do nothing in TEST()
192 *fdef_to_add.add_function() = make_fn_b("3"); // Add new function in TEST()
211 *fdef_base.add_function() = FunctionDefHelper::Create( in TEST()
220 *fdef_to_add.add_function() = FunctionDefHelper::Create( in TEST()
248 *flib.add_function() = FunctionDefHelper::Create( in TEST()
/external/tensorflow/tensorflow/core/grappler/utils/
Dtpu_test.cc34 FunctionDef* function_def = library->add_function(); in TEST_F()
55 FunctionDef* function_def = library->add_function(); in TEST_F()
/external/tensorflow/tensorflow/core/framework/
Dgraph_def_util_test.cc203 *produced_graph_def.mutable_library()->add_function() = in TEST()
222 *expected_graph_def.mutable_library()->add_function() = in TEST()
291 FunctionDef* function_def = graph_def.mutable_library()->add_function(); in TEST()
337 FunctionDef* b = graph_def.mutable_library()->add_function(); in TEST()
338 FunctionDef* c = graph_def.mutable_library()->add_function(); in TEST()
Dfunction_test.cc1084 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1098 *proto.add_function() = fdef; in TEST()
1119 *proto.add_function() = test::function::XTimesFour(); in TEST()
1141 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1144 *proto.add_function() = fdef; in TEST()
1182 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1191 *proto2.add_function() = test::function::WXPlusB(); in TEST()
1193 *proto2.add_function() = test::function::XTimesFour(); in TEST()
1218 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1227 *proto2.add_function() = test::function::WXPlusB(); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dadded_function_reducer.cpp221 .add_function(); in ReplayPrefixAndAddFunction()
253 .add_function(); in ReplayAdaptedTransformations()
296 .add_function() in GetAddedFunctionId()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dadded_function_reducer.cpp221 .add_function(); in ReplayPrefixAndAddFunction()
253 .add_function(); in ReplayAdaptedTransformations()
296 .add_function() in GetAddedFunctionId()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dadded_function_reducer.cpp221 .add_function(); in ReplayPrefixAndAddFunction()
253 .add_function(); in ReplayAdaptedTransformations()
296 .add_function() in GetAddedFunctionId()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcluster_function_library_runtime_test.cc122 *(proto.add_function()) = test::function::Swap(); in TEST_F()
381 *(proto.add_function()) = test::function::XTimesTwoInt32(); in TEST_F()
396 *(proto.add_function()) = test::function::Swap(); in TEST_F()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dsave_impl.py162 call_fn_with_losses = call_collection.add_function(
165 call_fn = call_collection.add_function(
175 call_collection.add_function(
494 def add_function(self, call_fn, name): member in LayerCallCollection

1234