Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_tensorflow_merge.cc32 const auto* merge_op = merge_it->get(); in Run() local
33 if (merge_op->type != OperatorType::kMerge) { in Run()
41 if (merge_op->inputs.size() > 1) { in Run()
42 AddMessageF("Waiting for %s to be resolved", LogName(*merge_op)); in Run()
48 CHECK_EQ(merge_op->inputs.size(), 1); in Run()
53 if (input == merge_op->outputs[0]) { in Run()
54 input = merge_op->inputs[0]; in Run()
59 DeleteOpAndArrays(model, merge_op); in Run()
/external/tensorflow/tensorflow/core/nccl/
Dcollective_communicator.cc41 Status ReductionOp(const string& merge_op, ncclRedOp_t* reduction_op) { in ReductionOp() argument
42 if (merge_op == "Add") { in ReductionOp()
45 } else if (merge_op == "Mul") { in ReductionOp()
48 } else if (merge_op == "Maximum") { in ReductionOp()
51 } else if (merge_op == "Minimum") { in ReductionOp()
57 merge_op); in ReductionOp()
139 ReductionOp(col_params->merge_op->type_string(), &reduction_op); in Enqueue()
/external/tensorflow/tensorflow/python/ops/
Dcollective_ops.py27 merge_op='Add', argument
67 merge_op=merge_op,
78 merge_op='Add', argument
116 merge_op=merge_op,
Dcollective_ops_gpu_test.py254 def run_all_reduce(group_key, instance_key, merge_op): argument
260 in0, self._group_size, group_key, instance_key, merge_op,
265 in1, self._group_size, group_key, instance_key, merge_op,
271 merge_op = combination[0]
272 results = run_all_reduce(group_key=10, instance_key=20, merge_op=merge_op)
284 [1.], group_size=1, group_key=0, instance_key=0, merge_op='Add',
Dcollective_ops_test.py56 merge_op='Add', argument
80 merge_op,
289 merge_op='Max',
300 merge_op='Min',
468 merge_op='Add', final_op='Id')
473 merge_op='Add', final_op='Id')
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DCollectiveReduce.pbtxt37 name: "merge_op"
100 name: "merge_op"
171 name: "merge_op"
249 name: "merge_op"
DCollectiveReduceV2.pbtxt37 name: "merge_op"
103 name: "merge_op"
181 name: "merge_op"
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/
Dcontrol_flow_upgrade_legacy_v1.py41 merge_op = control_flow_ops.merge(switch_op)[0]
42 result = tf.transpose(merge_op)
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DCollectiveReduce.pbtxt37 name: "merge_op"
100 name: "merge_op"
171 name: "merge_op"
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device_test.cc397 const std::string merge_op("Add"); in CollectiveSum() local
398 TFE_OpSetAttrString(op.get(), "merge_op", merge_op.c_str(), in CollectiveSum()
399 merge_op.length()); in CollectiveSum()
488 const std::string merge_op("Mul"); in RegisterCollectiveMulFunction() local
489 TF_SetAttrString(reduce_desc, "merge_op", merge_op.c_str(), in RegisterCollectiveMulFunction()
490 merge_op.length()); in RegisterCollectiveMulFunction()
/external/mesa3d/src/compiler/nir/
Dnir_lower_alu_to_scalar.c65 lower_reduction(nir_alu_instr *alu, nir_op chan_op, nir_op merge_op, in lower_reduction() argument
88 last = nir_build_alu(builder, merge_op, in lower_reduction()
/external/tensorflow/tensorflow/core/common_runtime/
Dring_alg.cc408 << ((col_params_->merge_op != nullptr) ? "tmp_chunk" : "chunk"); in DispatchRecv()
409 Tensor* dst_tensor = (!rf->second_pass && (col_params_->merge_op != nullptr)) in DispatchRecv()
Dring_reducer.cc259 col_params_->merge_op, &rf->chunk, &rf->tmp_chunk); in RunAsyncParts()
Dring_reducer_test.cc479 col_params_->merge_op = merge_op_.get(); in DoReduce()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_cond_test.cc134 auto merge_op = ops::Merge( in TEST() local
/external/tensorflow/tensorflow/python/kernel_tests/
Dcollective_ops_multi_worker_test.py118 merge_op="Add",
Dcontrol_flow_ops_py_test.py240 merge_op = control_flow_ops.merge(switch_op)[0]
242 val = merge_op.values
243 ind = merge_op.indices
268 merge_op = control_flow_ops.merge(switch_op)[0]
270 result = self.evaluate(merge_op)
282 merge_op = control_flow_ops.merge([add_op, id_op])[0]
284 result = self.evaluate(merge_op)
297 merge_op = control_flow_ops.merge([add_op, mul_op])[0]
299 result = self.evaluate(merge_op)
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp801 SpvOp merge_op = inst->opcode(); in MergeDivDivArithmetic() local
804 merge_op = SpvOpFMul; in MergeDivDivArithmetic()
811 PerformOperation(const_mgr, merge_op, const_input1, const_input2); in MergeDivDivArithmetic()
1246 SpvOp merge_op = inst->opcode(); in MergeSubSubArithmetic() local
1248 merge_op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic()
1253 PerformOperation(const_mgr, merge_op, const_input1, const_input2); in MergeSubSubArithmetic()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfolding_rules.cpp801 SpvOp merge_op = inst->opcode(); in MergeDivDivArithmetic() local
804 merge_op = SpvOpFMul; in MergeDivDivArithmetic()
811 PerformOperation(const_mgr, merge_op, const_input1, const_input2); in MergeDivDivArithmetic()
1246 SpvOp merge_op = inst->opcode(); in MergeSubSubArithmetic() local
1248 merge_op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic()
1253 PerformOperation(const_mgr, merge_op, const_input1, const_input2); in MergeSubSubArithmetic()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfolding_rules.cpp854 SpvOp merge_op = inst->opcode(); in MergeDivDivArithmetic() local
857 merge_op = SpvOpFMul; in MergeDivDivArithmetic()
864 PerformOperation(const_mgr, merge_op, const_input1, const_input2); in MergeDivDivArithmetic()
1299 SpvOp merge_op = inst->opcode(); in MergeSubSubArithmetic() local
1301 merge_op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic()
1306 PerformOperation(const_mgr, merge_op, const_input1, const_input2); in MergeSubSubArithmetic()
/external/tensorflow/tensorflow/core/framework/
Dcollective.h146 OpKernel* merge_op = nullptr; // reduction only member
/external/tensorflow/tensorflow/core/kernels/
Dcollective_ops.cc269 col_params_->merge_op = merge_op_.get(); in CollectiveReduceOpKernel()
535 col_params->merge_op = merge_op_.get(); in ComputeAsync()
Dcollective_nccl_test.cc474 di->col_params_->merge_op = di->merge_op_.get(); in InitDevice()
/external/tensorflow/tensorflow/python/distribute/parallel_device/
Dparallel_device_test.py65 merge_op=operation,
/external/tensorflow/tensorflow/python/ops/numpy_ops/g3doc/
DTensorFlow_Numpy_Distributed_Image_Classification.ipynb467 " instance_key=instance_key, merge_op='Add', final_op='Div',\n",

12