Home
last modified time | relevance | path

Searched refs:src_list (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/core/ops/
Dcontrol_flow_ops_test.cc29 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
30 src_list.reserve(n); in TEST()
31 for (int i = 0; i < n; ++i) src_list.emplace_back("a", 0, DT_FLOAT); in TEST()
33 .Input(src_list) in TEST()
56 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
57 src_list.reserve(n); in TEST()
58 for (int i = 0; i < n; ++i) src_list.emplace_back("a", 1, DT_FLOAT_REF); in TEST()
61 .Input(src_list) in TEST()
Dstring_ops_test.cc28 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
29 src_list.reserve(n); in TEST()
30 for (int i = 0; i < n; ++i) src_list.emplace_back("a", 0, DT_STRING); in TEST()
32 .Input(src_list) in TEST()
Dremote_fused_graph_ops_test.cc30 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
33 src_list.emplace_back("a", 0, DT_FLOAT); in TEST()
37 src_list.emplace_back("b", 0, DT_INT32); in TEST()
45 .Input(src_list) in TEST()
Dfunctional_ops_test.cc28 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
33 src_list.emplace_back("a", 0, DT_FLOAT); in TEST()
40 .Input(src_list) in TEST()
Dsparse_ops_test.cc274 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
276 src_list.reserve(n); in TEST()
277 for (int i = 0; i < n; ++i) src_list.emplace_back("a", 0, DT_INT64); in TEST()
279 .Input(src_list) in TEST()
280 .Input(src_list) in TEST()
281 .Input(src_list) in TEST()
Darray_ops_test.cc49 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
50 src_list.reserve(n); in TEST()
51 for (int i = 0; i < n; ++i) src_list.emplace_back("a", 0, DT_FLOAT); in TEST()
53 .Input(src_list) in TEST()
371 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
372 src_list.reserve(n); in TEST()
373 for (int i = 0; i < n; ++i) src_list.emplace_back("a", 0, DT_FLOAT); in TEST()
375 .Input(src_list) in TEST()
698 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
699 src_list.reserve(n); in TEST()
[all …]
Dparsing_ops_test.cc36 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
39 src_list.emplace_back("b", 0, DT_FLOAT); in TEST()
44 .Input(src_list) in TEST()
Dmath_ops_test.cc31 std::vector<NodeDefBuilder::NodeOut> src_list; in TEST() local
32 src_list.reserve(n); in TEST()
33 for (int i = 0; i < n; ++i) src_list.emplace_back("a", 0, DT_FLOAT); in TEST()
35 .Input(src_list) in TEST()
/external/tensorflow/tensorflow/core/framework/
Dnode_def_builder.cc109 NodeDefBuilder& NodeDefBuilder::Input(gtl::ArraySlice<NodeOut> src_list) { in Input() argument
111 if (arg != nullptr) ListInput(arg, src_list); in Input()
137 gtl::ArraySlice<NodeOut> src_list) { in ListInput() argument
138 for (const auto& node_out : src_list) { in ListInput()
143 Attr(input_arg->number_attr(), static_cast<int64>(src_list.size())); in ListInput()
146 for (const auto& node_out : src_list) { in ListInput()
149 } else if (!src_list.empty()) { in ListInput()
150 const DataType base = BaseType(src_list[0].data_type); in ListInput()
153 for (const auto& node_out : src_list) { in ListInput()
159 type_vec.reserve(src_list.size()); in ListInput()
[all …]
Dshape_inference_testutil_test.cc55 std::vector<NodeDefBuilder::NodeOut> src_list; in RunInferShapes() local
56 src_list.reserve(num_inputs); in RunInferShapes()
57 for (int i = 0; i < num_inputs; ++i) src_list.emplace_back("a", 0, DT_FLOAT); in RunInferShapes()
60 .Input(src_list) in RunInferShapes()
Dnode_def_builder.h82 NodeDefBuilder& Input(gtl::ArraySlice<NodeOut> src_list);
156 gtl::ArraySlice<NodeOut> src_list);
/external/tensorflow/tensorflow/core/graph/
Dnode_builder.cc70 NodeBuilder& NodeBuilder::Input(gtl::ArraySlice<NodeOut> src_list) { in Input() argument
72 srcs.reserve(src_list.size()); in Input()
73 for (const auto& node_out : src_list) { in Input()
Dnode_builder.h95 NodeBuilder& Input(gtl::ArraySlice<NodeOut> src_list);
/external/selinux/python/sepolicy/sepolicy/
Dtransition.py32src_list = [src] + list(filter(lambda x: x['name'] == src, sepolicy.get_all_types_info()))[0]['att…
33 …trans_list = list(filter(lambda x: x['source'] in src_list and x['class'] == 'process', sepolicy.g…
Dmanpage.py991 src_list = [self.type]
993src_list += list(filter(lambda x: x['name'] == self.type, sepolicy.get_all_types_info()))[0]['attr…
998 x['source'] in src_list and
D__init__.py414 src_list = [src]
418 src_list += list(filter(lambda x: x['name'] == src, get_all_types_info()))[0]['attributes']
426 x['source'] in src_list and
/external/autotest/client/site_tests/firmware_TouchMTB/
Dmtb.py1038 def _get_segments_by_length(self, src_list, segment_flag, ratio): argument
1047 end_size = int(round(len(src_list) * ratio))
1049 return src_list
1051 return src_list[end_size: -end_size]
1053 return src_list[: end_size]
1055 return src_list[-end_size:]
1057 bgn_segment = src_list[: end_size]
1058 end_segment = src_list[-end_size:]