Home
last modified time | relevance | path

Searched refs:op_list (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/core/framework/
Dop_gen_lib_test.cc181 OpList op_list; in TEST() local
182 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST()
184 ApiDefMap api_map(op_list); in TEST()
216 OpList op_list; in TEST() local
217 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST()
219 ApiDefMap api_map(op_list); in TEST()
255 OpList op_list; in TEST() local
256 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST()
258 ApiDefMap api_map(op_list); in TEST()
287 OpList op_list; in TEST() local
[all …]
Dgraph_def_util_test.cc40 OpList op_list; in TEST() local
41 TF_ASSERT_OK(FinalizeOpDef(OpDefBuilder("Project>SomeOp"), op_list.add_op())); in TEST()
42 OpListOpRegistry registry(&op_list); in TEST()
51 OpList op_list; in TEST() local
54 op_list.add_op())); in TEST()
55 OpListOpRegistry registry(&op_list); in TEST()
72 OpList op_list; in TEST() local
74 op_list.add_op())); in TEST()
75 OpListOpRegistry registry(&op_list); in TEST()
239 OpList op_list; in TEST() local
[all …]
Dop_registration_test.cc39 OpList op_list; in TEST() local
40 registry->Export(true, &op_list); in TEST()
41 EXPECT_EQ(op_list.op().size(), 1); in TEST()
42 EXPECT_EQ(op_list.op(0).name(), "Foo"); in TEST()
Dop.cc127 OpList op_list; in LookUpSlow() local
128 Export(true, &op_list); in LookUpSlow()
131 for (const auto& op : op_list.op()) { in LookUpSlow()
202 OpList op_list; in DebugString() local
203 Export(include_internal, &op_list); in DebugString()
205 for (const auto& op : op_list.op()) { in DebugString()
266 OpListOpRegistry::OpListOpRegistry(const OpList* op_list) { in OpListOpRegistry() argument
267 for (const OpDef& op_def : op_list->op()) { in OpListOpRegistry()
Dload_library.cc31 OpList op_list; member
73 *library.op_list.add_op() = opdef; in LoadDynamicLibrary()
94 library.op_list.SerializeToString(&str); in LoadDynamicLibrary()
Dop_gen_lib.h56 explicit ApiDefMap(const OpList& op_list);
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen_main.cc39 std::vector<string>* op_list) { in ReadOpListFromFile() argument
55 op_list->emplace_back(op_name); in ReadOpListFromFile()
73 Status ParseOpListCommandLine(const char* arg, std::vector<string>* op_list) { in ParseOpListCommandLine() argument
79 return tensorflow::ReadOpListFromFile(filename, op_list); in ParseOpListCommandLine()
81 *op_list = std::move(op_names); in ParseOpListCommandLine()
108 void PrintAllPythonOps(const std::vector<string>& op_list, in PrintAllPythonOps() argument
130 std::unordered_set<string> allowlist(op_list.begin(), op_list.end()); in PrintAllPythonOps()
140 PrintPythonOps(ops, api_def_map, op_list, source_file_name, in PrintAllPythonOps()
177 std::vector<tensorflow::string> op_list; in main() local
178 TF_CHECK_OK(tensorflow::ParseOpListCommandLine(argv[2], &op_list)); in main()
[all …]
Dmeta_graph_test.py131 op_list = meta_graph.stripped_op_list_for_graph(ops.get_default_graph()
133 self.assertEqual(len(op_list.op), 0)
137 op_list = meta_graph.stripped_op_list_for_graph(ops.get_default_graph()
139 self.assertEqual(["Const", "Square"], [op.name for op in op_list.op])
157 op_list = meta_graph.stripped_op_list_for_graph(graph)
158 self.assertEqual(["Const"], [op.name for op in op_list.op])
178 op_list = meta_graph.stripped_op_list_for_graph(graph)
181 [op.name for op in op_list.op])
/external/tensorflow/tensorflow/core/graph/
Dvalidate_test.cc101 OpList op_list; in TEST() local
102 *op_list.add_op() = op_reg_data.op_def; in TEST()
107 TF_ASSERT_OK(graph::ValidateGraphDefAgainstOpList(graph_def, op_list)); in TEST()
113 OpList op_list; in TEST() local
114 *op_list.add_op() = op_reg_data.op_def; in TEST()
119 ASSERT_FALSE(graph::ValidateGraphDefAgainstOpList(graph_def, op_list).ok()); in TEST()
128 OpList op_list; in TEST() local
129 graph::GetOpListForValidation(&op_list); in TEST()
130 for (const OpDef& op_def : op_list.op()) { in TEST()
Dvalidate.cc54 const OpList& op_list) { in ValidateGraphDefAgainstOpList() argument
55 OpListOpRegistry registry(&op_list); in ValidateGraphDefAgainstOpList()
59 void GetOpListForValidation(OpList* op_list, const OpRegistry& op_registry) { in GetOpListForValidation() argument
60 op_registry.Export(false, op_list); in GetOpListForValidation()
61 RemoveDescriptionsFromOpList(op_list); in GetOpListForValidation()
Dvalidate.h48 const OpList& op_list);
52 OpList* op_list, const OpRegistry& op_registry = *OpRegistry::Global());
/external/tensorflow/tensorflow/python/kernel_tests/io_ops/
Drecord_input_test.py118 op_list = self.evaluate(yield_op)
119 self.assertTrue(len(op_list) is batches)
120 for r in op_list:
175 op_list = self.evaluate(yield_op)
176 self.assertTrue(len(op_list) is batches)
177 for r in op_list:
/external/tensorflow/tensorflow/core/grappler/utils/
Dpattern_utils.cc28 std::vector<string> op_list = str_util::Split(op, '|'); in IsCommutativeOp() local
31 for (const string& op_ : op_list) { in IsCommutativeOp()
71 std::vector<string> op_list = str_util::Split(pattern.op, '|'); in DoesOpTypePatternMatch() local
72 for (const string& op : op_list) { in DoesOpTypePatternMatch()
/external/tensorflow/tensorflow/c/
Dc_api_internal.h67 TF_Buffer op_list; member
164 explicit TF_ApiDefMap(const tensorflow::OpList& op_list) in TF_ApiDefMap()
167 api_def_map(op_list), in TF_ApiDefMap()
Dops_test.cc43 ::tensorflow::OpList op_list; in TEST()
44 op_list.ParseFromArray(op_list_buffer->data, op_list_buffer->length); in TEST()
46 for (const auto& op : op_list.op()) { in TEST()
150 ::tensorflow::OpList op_list; in TEST()
151 op_list.ParseFromArray(op_list_buffer->data, op_list_buffer->length); in TEST()
153 for (const auto& op : op_list.op()) { in TEST()
/external/tensorflow/tensorflow/python/training/
Dsupervisor.py377 op_list = ops.get_collection(key)
378 if len(op_list) > 1:
380 len(op_list), key)
381 if op_list:
382 return op_list[0]
444 op_list = [
448 if op_list:
449 local_init_op = control_flow_ops.group(*op_list)
/external/tensorflow/tensorflow/lite/toco/logging/
Dgen_html.py163 for i in range(len(toco_conversion_log_before.op_list)):
165 pre_op_profile += "<tr><td>" + toco_conversion_log_before.op_list[
175 for op in toco_conversion_log_after.op_list:
Dgen_html_test.py34 toco_conversion_log_before.op_list.extend([
40 toco_conversion_log_after.op_list.extend([
/external/tensorflow/tensorflow/python/training/saving/
Dsaveable_object_util.py234 def op_list_to_dict(op_list, convert_variable_to_tensor=True): argument
251 if not isinstance(op_list, (list, tuple, set)):
255 op_list = nest.flatten(list(op_list))
259 op_list = sorted(op_list, key=lambda x: x.name)
262 for var in op_list:
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_functional_ops.cc85 static const auto op_list = new absl::flat_hash_set<std::string>( in DevicePropagationOpList() local
88 return *op_list; in DevicePropagationOpList()
/external/ComputeLibrary/src/dynamic_fusion/sketch/utils/
DDependencyGraph.h355 const auto op_list = all_ops(); in get_root_ops() local
357 for(auto op : op_list) in get_root_ops()
526 const auto op_list = all_ops(); in get_dst_ops() local
528 for(auto op : op_list) in get_dst_ops()
/external/tensorflow/tensorflow/python/grappler/
Ditem_test.py55 op_list = grappler_item.IdentifyImportantOps()
56 self.assertItemsEqual(['Const', 'Const_1', 'add'], op_list)
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_generator.h47 Status Run(const OpList& op_list, const string& base_package,
Dop_generator.cc531 Status OpGenerator::Run(const OpList& op_list, const string& base_package, in Run() argument
533 ApiDefMap api_map(op_list); in Run()
536 for (const auto& op : op_list.op()) { in Run()
548 for (const auto& op_def : op_list.op()) { in Run()
/external/google-breakpad/src/third_party/libdisasm/swig/
Dlibdisasm.i254 x86_op_list *op_list = x86_op_list_new(); in x86_insn_op_list() local
257 x86_op_list_append( op_list, &list->op ); in x86_insn_op_list()
260 return op_list; in x86_insn_op_list()

12