Home
last modified time | relevance | path

Searched refs:operators (Results 1 – 25 of 1283) sorted by relevance

12345678910>>...52

/external/Reactive-Extensions/RxCpp/Rx/v2/test/
DCMakeLists.txt32 ${TEST_DIR}/operators/all.cpp
33 ${TEST_DIR}/operators/any.cpp
34 ${TEST_DIR}/operators/amb.cpp
35 ${TEST_DIR}/operators/amb_variadic.cpp
36 ${TEST_DIR}/operators/buffer.cpp
37 ${TEST_DIR}/operators/combine_latest.cpp
38 ${TEST_DIR}/operators/concat.cpp
39 ${TEST_DIR}/operators/concat_map.cpp
40 ${TEST_DIR}/operators/contains.cpp
41 ${TEST_DIR}/operators/debounce.cpp
[all …]
/external/tensorflow/tensorflow/python/autograph/operators/
D__init__.py40 from tensorflow.python.autograph.operators.conditional_expressions import if_exp
41 from tensorflow.python.autograph.operators.control_flow import for_stmt
42 from tensorflow.python.autograph.operators.control_flow import if_stmt
43 from tensorflow.python.autograph.operators.control_flow import while_stmt
44 from tensorflow.python.autograph.operators.data_structures import list_append
45 from tensorflow.python.autograph.operators.data_structures import list_pop
46 from tensorflow.python.autograph.operators.data_structures import list_stack
47 from tensorflow.python.autograph.operators.data_structures import ListPopOpts
48 from tensorflow.python.autograph.operators.data_structures import ListStackOpts
49 from tensorflow.python.autograph.operators.data_structures import new_list
[all …]
DBUILD20 name = "operators",
61 ":operators",
72 ":operators",
86 ":operators",
99 ":operators",
110 ":operators",
121 ":operators",
137 ":operators",
148 ":operators",
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_composition.py114 operators, argument
147 operators=operators,
155 check_ops.assert_proper_iterable(operators)
156 operators = list(operators)
157 if not operators:
159 "Expected a non-empty list of operators. Found: %s" % operators)
160 self._operators = operators
163 dtype = operators[0].dtype
164 for operator in operators:
166 name_type = (str((o.name, o.dtype)) for o in operators)
[all …]
Dlinear_operator_kronecker.py138 operators, argument
171 operators=operators,
180 check_ops.assert_proper_iterable(operators)
181 operators = list(operators)
182 if not operators:
184 "Expected a list of >=1 operators. Found: %s" % operators)
185 self._operators = operators
188 dtype = operators[0].dtype
189 for operator in operators:
191 name_type = (str((o.name, o.dtype)) for o in operators)
[all …]
Dlinear_operator_block_diag.py135 operators, argument
167 operators=operators,
176 check_ops.assert_proper_iterable(operators)
177 operators = list(operators)
178 if not operators:
180 "Expected a non-empty list of operators. Found: %s" % operators)
181 self._operators = operators
185 self._diagonal_operators = operators
188 dtype = operators[0].dtype
189 for operator in operators:
[all …]
Dlinear_operator_addition.py38 def add_operators(operators, argument
103 check_ops.assert_proper_iterable(operators)
104 operators = list(reversed(operators))
105 if len(operators) < 1:
108 "Found: %s" % operators)
110 isinstance(op, linear_operator.LinearOperator) for op in operators):
113 "Found: %s" % operators)
114 _static_check_for_same_dimensions(operators)
115 _static_check_for_broadcastable_batch_shape(operators)
118 for operator in operators:
[all …]
Dlinear_operator_block_lower_triangular.py191 operators, argument
235 operators=operators,
244 check_ops.assert_proper_iterable(operators)
245 for row in operators:
247 operators = [list(row) for row in operators]
249 if not operators:
251 "Expected a non-empty list of operators. Found: {}".format(operators))
252 self._operators = operators
253 self._diagonal_operators = [row[-1] for row in operators]
255 dtype = operators[0][0].dtype
[all …]
Dinverse_registrations.py88 operators=[
89 operator.inverse() for operator in block_diag_operator.operators],
132 if len(block_lower_triangular_operator.operators) == 1:
135 [[block_lower_triangular_operator.operators[0][0].inverse()]],
142 blockwise_dim = len(block_lower_triangular_operator.operators)
149 block_lower_triangular_operator.operators[:-1]).inverse())
151 bottom_row = block_lower_triangular_operator.operators[-1]
164 result = bottom_row[j].matmul(upper_left_inverse.operators[j][i])
187 upper_left_inverse.operators + [inverse_bottom_row],
201 operators=[
[all …]
/external/Reactive-Extensions/RxCpp/projects/CMake/
DCMakeLists.txt29 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-all.hpp
30 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-amb.hpp
31 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-any.hpp
32 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-buffer_count.hpp
33 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-buffer_time.hpp
34 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-buffer_time_count.hpp
35 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-combine_latest.hpp
36 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-concat.hpp
37 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-concat_map.hpp
38 ${RXCPP_DIR}/Rx/v2/src/rxcpp/operators/rx-connect_forever.hpp
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/functions/bundles/
DCoreOperators.java20 import com.google.clearsilver.jsilver.functions.operators.AddFunction;
21 import com.google.clearsilver.jsilver.functions.operators.AndFunction;
22 import com.google.clearsilver.jsilver.functions.operators.DivideFunction;
23 import com.google.clearsilver.jsilver.functions.operators.EqualFunction;
24 import com.google.clearsilver.jsilver.functions.operators.ExistsFunction;
25 import com.google.clearsilver.jsilver.functions.operators.GreaterFunction;
26 import com.google.clearsilver.jsilver.functions.operators.GreaterOrEqualFunction;
27 import com.google.clearsilver.jsilver.functions.operators.LessFunction;
28 import com.google.clearsilver.jsilver.functions.operators.LessOrEqualFunction;
29 import com.google.clearsilver.jsilver.functions.operators.ModuloFunction;
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_tensorflow_matmul.cc31 for (auto it = model.operators.begin(); it != model.operators.end(); ++it) { in FindTransposeOpWithInput()
62 auto matmul_it = model->operators.begin() + op_index; in Run()
70 matmul_it = std::find_if(model->operators.begin(), model->operators.end(), in Run()
117 model->operators.emplace(matmul_it, transpose_op); in Run()
152 model->operators.emplace(matmul_it, transpose_op); in Run()
172 model->operators.emplace(matmul_it, fc_op) + 1; in Run()
175 auto previous_op_it = model->operators.begin(); in Run()
177 for (; previous_op_it != model->operators.end(); ++previous_op_it) { in Run()
191 matmul_it = model->operators.begin(); in Run()
192 for (; matmul_it != model->operators.end(); ++matmul_it) { in Run()
[all …]
Dgraph_transformations.cc39 LOG(INFO) << label << ": " << model.operators.size() << " operators, " in PrintModelStats()
67 for (const auto& op : model->operators) { in DiscardUselessConnectedComponentsAndRNNBackEdges()
98 for (auto it = model->operators.begin(); it != model->operators.end();) { in DiscardUselessConnectedComponentsAndRNNBackEdges()
107 it = model->operators.erase(it); in DiscardUselessConnectedComponentsAndRNNBackEdges()
135 if (model->operators.empty()) { in GraphTransformationsPass()
139 int op_index = increment == 1 ? 0 : model->operators.size() - 1; in GraphTransformationsPass()
157 << model->operators.size() - 1; in GraphTransformationsPass()
162 << model->operators.size() - 1 << ": " << message; in GraphTransformationsPass()
167 if (model->operators.empty()) return true; in GraphTransformationsPass()
168 op_index = std::min<int>(op_index, model->operators.size() - 1); in GraphTransformationsPass()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dremove_successive_transpose_test.cc70 model_->operators.push_back(std::unique_ptr<toco::Operator>(add_op)); in CreateGraph()
76 model_->operators.push_back(std::unique_ptr<toco::Operator>(transpose_op)); in CreateGraph()
82 model_->operators.push_back(std::unique_ptr<toco::Operator>(transpose2_op)); in CreateGraph()
87 model_->operators.push_back(std::unique_ptr<toco::Operator>(add2_op)); in CreateGraph()
102 ASSERT_EQ(model_->operators.size(), 2); in TEST_F()
103 ASSERT_EQ(model_->operators[0]->type, toco::OperatorType::kAdd); in TEST_F()
104 ASSERT_EQ(model_->operators[1]->type, toco::OperatorType::kAdd); in TEST_F()
105 ASSERT_EQ(model_->operators[1]->inputs[0], model_->operators[0]->outputs[0]); in TEST_F()
128 model_->operators.push_back(std::unique_ptr<toco::Operator>(add_op)); in TEST_F()
134 model_->operators.push_back(std::unique_ptr<toco::Operator>(transpose_op)); in TEST_F()
[all …]
Didentify_l2_normalization_test.cc69 model.operators.push_back(std::unique_ptr<Operator>(div_op)); in RunIdentifyL2Normalization()
70 model.operators.push_back(std::unique_ptr<Operator>(sqrt_op)); in RunIdentifyL2Normalization()
71 model.operators.push_back(std::unique_ptr<Operator>(sum_op)); in RunIdentifyL2Normalization()
72 model.operators.push_back(std::unique_ptr<Operator>(sq_op)); in RunIdentifyL2Normalization()
89 model.operators.push_back(std::unique_ptr<Operator>(mul_op)); in RunIdentifyL2Normalization()
90 model.operators.push_back(std::unique_ptr<Operator>(rsqrt_op)); in RunIdentifyL2Normalization()
91 model.operators.push_back(std::unique_ptr<Operator>(sum_op)); in RunIdentifyL2Normalization()
92 model.operators.push_back(std::unique_ptr<Operator>(sq_op)); in RunIdentifyL2Normalization()
97 for (auto& op_it : model.operators) { in RunIdentifyL2Normalization()
Dfuse_binary_into_following_affine_test.cc86 model_->operators.push_back(std::unique_ptr<Operator>(mul_op)); in TEST_F()
91 model_->operators.push_back(std::unique_ptr<Operator>(fc_op)); in TEST_F()
99 ASSERT_EQ(model_->operators.size(), 1); in TEST_F()
100 const auto& op = model_->operators[0]; in TEST_F()
128 model_->operators.push_back(std::unique_ptr<Operator>(mul_op)); in TEST_F()
133 model_->operators.push_back(std::unique_ptr<Operator>(fc_op)); in TEST_F()
138 model_->operators.push_back(std::unique_ptr<Operator>(identity_op)); in TEST_F()
146 EXPECT_EQ(model_->operators.size(), 3); in TEST_F()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dimport_test.cc106 Offset<Vector<Offset<::tflite::Operator>>> operators, in BuildSubGraphs() argument
114 builder_.CreateVector(outputs), operators, in BuildSubGraphs()
128 auto operators = BuildOperators(); in BuildTestModel() local
129 auto subgraphs = BuildSubGraphs(tensors, operators); in BuildTestModel()
157 details::OperatorsTable operators; in TEST_F() local
158 details::LoadOperatorsTable(*input_model_, &operators); in TEST_F()
159 EXPECT_THAT(operators, ElementsAre("MAX_POOL_2D", "CONV_2D")); in TEST_F()
190 auto operators = BuildOperators(); in TEST_F() local
191 auto subgraphs = BuildSubGraphs(tensors, operators); in TEST_F()
204 auto operators = BuildOperators({}, {1}); in TEST_F() local
[all …]
Dexport_test.cc37 void ResetOperators() { input_model_.operators.clear(); } in ResetOperators()
56 input_model_.operators.emplace_back(op); in AddOperatorsByName()
67 input_model_.operators.emplace_back(op); in AddOperatorsByName()
81 input_model_.operators.emplace_back(op); in AddOperatorsByName()
93 input_model_.operators.emplace_back(op); in AddOperatorsByName()
97 input_model_.operators.emplace_back(op); in AddOperatorsByName()
140 input_model_.operators.emplace_back(op); in BuildQuantizableTestModel()
152 input_model_.operators.emplace_back(op); in BuildQuantizableTestModel()
196 auto operators = (*model->subgraphs())[0]->operators(); in ExportAndGetOperatorIndices() local
197 for (const auto* op : *operators) { in ExportAndGetOperatorIndices()
[all …]
/external/tensorflow/tensorflow/lite/tools/optimize/
Dmodify_model_interface_test.cc74 model->subgraphs[0]->operators.push_back(std::move(quant_op)); in CreateQuantizedModelSingleInputOutput()
75 model->subgraphs[0]->operators.push_back(std::move(fc_op)); in CreateQuantizedModelSingleInputOutput()
76 model->subgraphs[0]->operators.push_back(std::move(dequant_op)); in CreateQuantizedModelSingleInputOutput()
177 model->subgraphs[0]->operators.push_back(std::move(quant_op_1)); in CreateQuantizedModelMultipleInputOutput()
178 model->subgraphs[0]->operators.push_back(std::move(quant_op_2)); in CreateQuantizedModelMultipleInputOutput()
179 model->subgraphs[0]->operators.push_back(std::move(fc_op)); in CreateQuantizedModelMultipleInputOutput()
180 model->subgraphs[0]->operators.push_back(std::move(dequant_op_1)); in CreateQuantizedModelMultipleInputOutput()
181 model->subgraphs[0]->operators.push_back(std::move(dequant_op_2)); in CreateQuantizedModelMultipleInputOutput()
280 model->subgraphs[0]->operators.push_back(std::move(fc_op)); in CreateFloatModel()
330 EXPECT_EQ(model->subgraphs[0]->operators.size(), 1); in TEST_P()
[all …]
Dquantization_wrapper_utils_test.cc59 model->subgraphs[0]->operators.push_back(std::move(lstm_op)); in TEST()
70 EXPECT_EQ(model->subgraphs[0]->operators.size(), 1); in TEST()
83 model->subgraphs[0]->operators[0]->inputs, in TEST()
86 EXPECT_THAT(model->subgraphs[0]->operators[0]->outputs, in TEST()
88 EXPECT_THAT(model->subgraphs[0]->operators[0]->intermediates, in TEST()
97 EXPECT_EQ(model->subgraphs[0]->operators.size(), 1); in TEST()
110 model->subgraphs[0]->operators[0]->inputs, in TEST()
113 EXPECT_THAT(model->subgraphs[0]->operators[0]->outputs, in TEST()
115 EXPECT_THAT(model->subgraphs[0]->operators[0]->intermediates, in TEST()
Dquantization_wrapper_utils_custom_test.cc58 model->subgraphs[0]->operators.push_back(std::move(lstm_op)); in TEST()
69 EXPECT_EQ(model->subgraphs[0]->operators.size(), 1); in TEST()
89 model->subgraphs[0]->operators[0]->inputs, in TEST()
92 EXPECT_THAT(model->subgraphs[0]->operators[0]->outputs, in TEST()
95 model->subgraphs[0]->operators[0]->intermediates, in TEST()
104 EXPECT_EQ(model->subgraphs[0]->operators.size(), 1); in TEST()
124 model->subgraphs[0]->operators[0]->inputs, in TEST()
127 EXPECT_THAT(model->subgraphs[0]->operators[0]->outputs, in TEST()
130 model->subgraphs[0]->operators[0]->intermediates, in TEST()
Dquantize_weights_test.cc120 for (size_t op_idx = 0; op_idx < subgraph->operators()->size(); ++op_idx) { in GetProducerOpCode()
121 const auto op = subgraph->operators()->Get(op_idx); in GetProducerOpCode()
197 ASSERT_EQ(quantized_graph->operators()->size(), 1); in TEST_F()
198 const auto op = quantized_graph->operators()->Get(0); in TEST_F()
256 for (size_t i = 0; i < quantized_graph->operators()->size(); ++i) { in TEST_F()
257 const auto op = quantized_graph->operators()->Get(i); in TEST_F()
315 for (size_t i = 0; i < quantized_graph->operators()->size(); ++i) { in TEST_F()
316 const auto op = quantized_graph->operators()->Get(i); in TEST_F()
366 for (size_t i = 0; i < quantized_graph->operators()->size(); ++i) { in TEST_F()
367 const auto op = quantized_graph->operators()->Get(i); in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/toco/logging/
Dconversion_log_util_test.cc37 model.operators.push_back(absl::make_unique<ConvOperator>()); in TEST()
38 model.operators.push_back(absl::make_unique<MeanOperator>()); in TEST()
39 model.operators.push_back(absl::make_unique<NegOperator>()); in TEST()
46 model.operators.push_back(std::move(avg_pool_3d)); in TEST()
50 model.operators.push_back(std::move(my_custom_op)); in TEST()
107 model.operators.push_back(std::move(conv1)); in TEST()
108 model.operators.push_back(std::move(conv2)); in TEST()
109 model.operators.push_back(std::move(mean)); in TEST()
110 model.operators.push_back(std::move(avg_pool_3d)); in TEST()
111 model.operators.push_back(std::move(elu_grad)); in TEST()
[all …]
/external/XNNPACK/models/
Dfp32-mobilenet-v3-small.cc441 ExecutionPlan operators; in FP32MobileNetV3Small() local
464 operators.emplace_back(op0, xnn_delete_operator); in FP32MobileNetV3Small()
477 operators.emplace_back(op1, xnn_delete_operator); in FP32MobileNetV3Small()
499 operators.emplace_back(op2, xnn_delete_operator); in FP32MobileNetV3Small()
511 operators.emplace_back(op3, xnn_delete_operator); in FP32MobileNetV3Small()
533 operators.emplace_back(op4, xnn_delete_operator); in FP32MobileNetV3Small()
555 operators.emplace_back(op5, xnn_delete_operator); in FP32MobileNetV3Small()
566 operators.emplace_back(op6, xnn_delete_operator); in FP32MobileNetV3Small()
588 operators.emplace_back(op7, xnn_delete_operator); in FP32MobileNetV3Small()
610 operators.emplace_back(op8, xnn_delete_operator); in FP32MobileNetV3Small()
[all …]
Dfp32-mobilenet-v3-large.cc509 ExecutionPlan operators; in FP32MobileNetV3Large() local
532 operators.emplace_back(op0, xnn_delete_operator); in FP32MobileNetV3Large()
545 operators.emplace_back(op1, xnn_delete_operator); in FP32MobileNetV3Large()
567 operators.emplace_back(op2, xnn_delete_operator); in FP32MobileNetV3Large()
589 operators.emplace_back(op3, xnn_delete_operator); in FP32MobileNetV3Large()
600 operators.emplace_back(op4, xnn_delete_operator); in FP32MobileNetV3Large()
622 operators.emplace_back(op5, xnn_delete_operator); in FP32MobileNetV3Large()
644 operators.emplace_back(op6, xnn_delete_operator); in FP32MobileNetV3Large()
666 operators.emplace_back(op7, xnn_delete_operator); in FP32MobileNetV3Large()
688 operators.emplace_back(op8, xnn_delete_operator); in FP32MobileNetV3Large()
[all …]

12345678910>>...52