Home
last modified time | relevance | path

Searched refs:add_function (Results 1 – 25 of 86) 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 __anon02e65f380111::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()
Dmap_and_filter_fusion.cc103 FunctionDef* func = library->add_function(); in MakeFilterNode()
145 FunctionDef* func = library->add_function(); in MakeMapNode()
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_functional_ops_test.cc144 *f_lib_proto.add_function() = test::function::XTimesTwo(); in TEST()
145 *f_lib_proto.add_function() = test::function::XTimesFour(); in TEST()
147 *f_lib_proto.add_function() = WhileWithIfCond(3); in TEST()
148 *f_lib_proto.add_function() = WhileWithIfBody(); in TEST()
254 *f_lib_proto.add_function() = test::function::XTimesTwo(); in TEST()
255 *f_lib_proto.add_function() = test::function::LessThanOrEqualToN(8); in TEST()
256 *f_lib_proto.add_function() = IfWithWhileThen(); in TEST()
Dlower_case_op_test.cc72 *(f_lib_proto.add_function()) = test::function::XTimesTwo(); in TEST()
73 *(f_lib_proto.add_function()) = test::function::XTimesFour(); in TEST()
74 *(f_lib_proto.add_function()) = test::function::XTimes16(); in TEST()
207 *(f_lib_proto.add_function()) = assign_add("AddOne", 1); in TEST()
208 *(f_lib_proto.add_function()) = assign_add("AddTwo", 2); in TEST()
209 *(f_lib_proto.add_function()) = assign_add("AddTen", 10); in TEST()
341 *(f_lib_proto.add_function()) = x_times_two; in TEST()
342 *(f_lib_proto.add_function()) = x_times_four; in TEST()
343 *(f_lib_proto.add_function()) = x_times_16; in TEST()
Dlower_if_op_test.cc70 *(f_lib_proto.add_function()) = test::function::XTimesTwo(); in TEST()
71 *(f_lib_proto.add_function()) = test::function::XTimesFour(); in TEST()
176 *(f_lib_proto.add_function()) = assign_add("AddOne", 1); in TEST()
177 *(f_lib_proto.add_function()) = assign_add("AddTwo", 2); in TEST()
273 *(f_lib_proto.add_function()) = x_times_two; in TEST()
274 *(f_lib_proto.add_function()) = x_times_four; 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::XPlusOneXTimesY(); in TEST()
180 *(f_lib_proto.add_function()) = test::function::XYXLessThanOrEqualToN(4); in TEST()
295 *f_lib_proto.add_function() = x_times_two; in TEST()
296 *f_lib_proto.add_function() = less_than_or_eq; in TEST()
Dlower_function_call_op_test.cc81 *(f_lib_proto.add_function()) = in TEST()
150 *(f_lib_proto.add_function()) = test::function::XTimesTwo(); in TEST()
Doptimization_registry_test.cc60 *func_def_lib.add_function() = test::function::XTimesTwo(); in OptimizationPassTest()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_utils_test.cc176 *fdef_base.add_function() = make_fn_a("0"); in TEST()
177 *fdef_base.add_function() = make_fn_a("1"); in TEST()
178 *fdef_base.add_function() = make_fn_a("2"); in TEST()
181 *fdef_to_add.add_function() = make_fn_b("0"); // Override in TEST()
182 *fdef_to_add.add_function() = make_fn_a("1"); // Do nothing in TEST()
183 *fdef_to_add.add_function() = make_fn_b("3"); // Add new function in TEST()
202 *fdef_base.add_function() = FunctionDefHelper::Create( in TEST()
211 *fdef_to_add.add_function() = FunctionDefHelper::Create( in TEST()
275 FunctionDef* f1 = fl.add_function(); in TEST_F()
283 FunctionDef* f2 = fl.add_function(); in TEST_F()
[all …]
/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/compiler/jit/
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()
Dcompilability_check_util_test.cc137 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
178 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
188 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
258 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
265 *flib.add_function() = FunctionDefHelper::Define( in TEST_F()
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()
458 FunctionDef *true_fn_fdef = fdl.add_function(); in TEST_F()
474 FunctionDef *false_fn_fdef = fdl.add_function(); in TEST_F()
492 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
609 FunctionDef *cond_fn_fdef = fdl.add_function(); in TEST_F()
625 FunctionDef *body_fn_fdef = fdl.add_function(); in TEST_F()
642 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
736 FunctionDef *true_fn_fdef = fdl.add_function(); in TEST_F()
778 FunctionDef *xla_fdef = fdl.add_function(); in TEST_F()
[all …]
Dencapsulate_subgraphs_pass_test.cc58 FunctionDef* fdef = library->add_function(); in AddGraphDefToFunctionLibrary()
583 *library_in.add_function() = test::function::XTimesTwo(); in TEST()
600 *library.add_function() = test::function::XTimesTwo(); in TEST()
619 *library_expected.add_function() = test::function::XTimesTwo(); in TEST()
620 *library_expected.add_function() = FunctionDefHelper::Create( in TEST()
653 *library.add_function() = test::function::XTimesTwo(); in TEST()
674 *library_expected.add_function() = test::function::XTimesTwo(); in TEST()
675 *library_expected.add_function() = FunctionDefHelper::Create( in TEST()
681 *library_expected.add_function() = FunctionDefHelper::Create( in TEST()
882 *library.add_function() = test::function::XTimesTwo(); in TEST()
[all …]
Dxla_cluster_util_test.cc214 *fdef_lib->add_function() = make_ref_float; in AddRefFunctionFunctionDef()
223 *fdef_lib->add_function() = make_regular_float; in AddRegularFunctionFunctionDef()
/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.cc1074 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1088 *proto.add_function() = fdef; in TEST()
1109 *proto.add_function() = test::function::XTimesFour(); in TEST()
1131 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1134 *proto.add_function() = fdef; in TEST()
1172 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1181 *proto2.add_function() = test::function::WXPlusB(); in TEST()
1183 *proto2.add_function() = test::function::XTimesFour(); in TEST()
1208 *proto.add_function() = test::function::XTimesTwo(); in TEST()
1217 *proto2.add_function() = test::function::WXPlusB(); in TEST()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcluster_function_library_runtime_test.cc119 *(proto.add_function()) = test::function::Swap(); in TEST_F()
378 *(proto.add_function()) = test::function::XTimesTwoInt32(); in TEST_F()
393 *(proto.add_function()) = test::function::Swap(); in TEST_F()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dsave_impl.py169 call_fn_with_losses = call_collection.add_function(
172 call_fn = call_collection.add_function(
182 call_collection.add_function(
477 def add_function(self, call_fn, name): member in LayerCallCollection
/external/tensorflow/tensorflow/compiler/tf2xla/
Dresource_util_test.cc384 *library->add_function() = FunctionDefHelper::Define( in TEST()
438 *library->add_function() = FunctionDefHelper::Define( in TEST()
491 *library->add_function() = FunctionDefHelper::Define( in TEST()

1234