Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dremove_unused_op.cc71 CountOpsWithInput(*model, rnn_state.state_array())) { in Run()
76 if (CountOpsWithInput(*model, output)) { in Run()
Dremove_successive_transpose.cc69 if (CountOpsWithInput(*model, t_op->outputs[0]) != 1) { in Run()
78 if (!CountOpsWithInput(*model, t_next->outputs[0])) { in Run()
Dreorder_reshape_transpose.cc146 if (CountOpsWithInput(*model, intermediate_name) != 1) { in Run()
210 if (CountOpsWithInput(*model, transpose_op->inputs[1]) != 1) { in Run()
228 if (CountOpsWithInput(*model, reshape_op->inputs[1]) != 1) { in Run()
Dresolve_tensorflow_matmul.cc208 if (CountOpsWithInput(*model, previous_op_output) == 1) { in Run()
215 if (CountOpsWithInput(*model, previous_op_output) == 1) { in Run()
Dresolve_squeeze_attributes.cc40 if (CountOpsWithInput(*model, squeeze_op->outputs[0]) == 1) { in Run()
Dremove_final_dequantize_op.cc43 if (CountOpsWithInput(*model, output)) { in Run()
Dremove_tensorflow_assert.cc49 CHECK(!CountOpsWithInput(*model, assert_op->outputs[0])); in Run()
Ddrop_fake_quant.cc49 if (CountOpsWithInput(*model, fakequant_op->inputs[i]) == 1) { in Run()
Dfuse_binary_into_preceding_affine.cc320 const int count_ops_consuming_bias = CountOpsWithInput(*model, bias_name); in Run()
322 CountOpsWithInput(*model, weights_name); in Run()
358 CountOpsWithInput(*model, preceding_op->outputs[0]); in Run()
Dremove_trivial_reshape.cc59 if (CountOpsWithInput(model, op.outputs[0]) == 1) { in IsReshapeTrivial()
Dconvert_trivial_tile_to_concat.cc84 CountOpsWithInput(*model, tile_op->inputs[1]) == 1) { in Run()
Dmake_initial_dequantize_operator.cc50 if (CountOpsWithInput(*model, input_name) > 1) { in AddDequantizeOperatorToInput()
Dresolve_tensorflow_switch.cc126 if (CountOpsWithInput(*model, input) == 1 && in Run()
Dfuse_activation_functions.cc56 int count_ops_consuming_output = CountOpsWithInput(*model, ac_op->inputs[0]); in Run()
Dconvert_expanddims_to_reshape.cc92 CountOpsWithInput(*model, axis_array_name) == 1 && in Run()
Dconvert_trivial_transpose_to_reshape.cc106 CountOpsWithInput(*model, perm_array_name) == 1) { in Run()
Dconvert_pure_conv_to_depthwise.cc56 if (CountOpsWithInput(*model, weights_name) > 1) { in Run()
Dreorder_elementwise_unary.cc91 if (CountOpsWithInput(*model, intermediate_name) != 1) { in Run()
Dshuffle_fc_weights.cc109 if (CountOpsWithInput(*model, weights_name) != 1) { in Run()
Dmerge_reshape_into_preceding_transpose.cc124 if (CountOpsWithInput(*model, intermediate_name) != 1) { in Run()
Dmove_binary_operator_before_reshape.cc153 CountOpsWithInput(*model, binary_op->inputs[variable_input_idx]); in Run()
Dfuse_binary_into_following_affine.cc221 if (CountOpsWithInput(*model, binary_op->outputs[0]) != 1) { in Run()
Dquantize.cc593 if (!CountOpsWithInput(*model, dequantize_op->outputs[0])) { in Run()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.h66 int CountOpsWithInput(const Model& model, const std::string& array_name);
Dtooling_util.cc142 int CountOpsWithInput(const Model& model, const std::string& array_name) { in CountOpsWithInput() function
160 CountOpsWithInput(*model, array_name) == 0 && in DeleteArrayIfUnused()
173 if (CountOpsWithInput(*model, array_name) > 1) { in DeleteArrayIfUnusedOutsideOfOp()
2426 QCHECK_EQ(CountOpsWithInput(*model, weights_name), 1); in UndoWeightsShuffling()