Home
last modified time | relevance | path

Searched refs:cond_data (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_select.cc60 const auto& cond_data = cond_array.GetBuffer<ArrayDataType::kBool>().data; in Run() local
61 if (cond_data.empty()) { in Run()
66 bool cond_value = cond_data[0]; in Run()
67 for (size_t i = 1; i < cond_data.size(); ++i) { in Run()
68 if (cond_data[i] != cond_value) { in Run()
/external/tensorflow/tensorflow/lite/kernels/
Dwhere.cc39 const bool* cond_data = GetTensorData<bool>(cond_tensor); in ResizeOutputTensor() local
43 if (cond_data[i]) { in ResizeOutputTensor()
/external/selinux/libsepol/src/
Dkernel_to_conf.c2007 struct cond_data { struct
2014 const struct cond_data *aa = a; in cond_node_cmp() argument
2015 const struct cond_data *bb = b; in cond_node_cmp()
2021 struct cond_data *cond_data; in write_cond_nodes_to_conf() local
2036 cond_data = calloc(sizeof(struct cond_data), num); in write_cond_nodes_to_conf()
2037 if (!cond_data) { in write_cond_nodes_to_conf()
2044 cond_data[i].cond = cond; in write_cond_nodes_to_conf()
2050 cond_data[i].expr = expr; in write_cond_nodes_to_conf()
2054 qsort(cond_data, num, sizeof(*cond_data), cond_node_cmp); in write_cond_nodes_to_conf()
2057 expr = cond_data[i].expr; in write_cond_nodes_to_conf()
[all …]
Dkernel_to_cil.c2039 struct cond_data { struct
2046 const struct cond_data *aa = a; in cond_node_cmp() argument
2047 const struct cond_data *bb = b; in cond_node_cmp()
2053 struct cond_data *cond_data; in write_cond_nodes_to_cil() local
2063 cond_data = calloc(num, sizeof(struct cond_data)); in write_cond_nodes_to_cil()
2064 if (!cond_data) { in write_cond_nodes_to_cil()
2071 cond_data[i].cond = cond; in write_cond_nodes_to_cil()
2077 cond_data[i].expr = expr; in write_cond_nodes_to_cil()
2081 qsort(cond_data, num, sizeof(*cond_data), cond_node_cmp); in write_cond_nodes_to_cil()
2084 expr = cond_data[i].expr; in write_cond_nodes_to_cil()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator_test.cc53 HloInstruction* cond_data = cond_builder.AddInstruction( in TEST_F() local
58 cond_data, ComparisonDirection::kLt)); in TEST_F()
91 {cond_param, cond_iter, cond_data, cond_lt}); in TEST_F()
704 HloInstruction* cond_data = cond_builder.AddInstruction( in TEST_F() local
708 cond_data, ComparisonDirection::kLt)); in TEST_F()
726 {param, while_op, body_param, cond_param, cond_iter, cond_data, cond_lt}); in TEST_F()