Home
last modified time | relevance | path

Searched refs:common_factor (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_dimension_inference.cc879 for (auto common_factor : common_factors) { in HandleReshape() local
881 if (common_factor.first == input_dim_start) { in HandleReshape()
882 output_dim_start = std::min(output_dim_start, common_factor.second); in HandleReshape()
884 if (common_factor.first == input_dim_end) { in HandleReshape()
885 output_dim_end = std::max(output_dim_end, common_factor.second); in HandleReshape()
Dshape_inference.cc3016 for (auto common_factor : common_factors) { in InferReshapeShape() local
3035 if (common_factor.first == input_dim_start) { in InferReshapeShape()
3036 output_dim_start = std::min(output_dim_start, common_factor.second); in InferReshapeShape()
3038 if (common_factor.first == input_dim_end) { in InferReshapeShape()
3039 output_dim_end = std::max(output_dim_end, common_factor.second); in InferReshapeShape()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc723 const string& common_factor = *common_factors.begin(); in TrySimplify() local
728 TF_RETURN_IF_ERROR(GetUniqueFactors(node, common_factor, in TrySimplify()
745 new_outer_node->set_input(1, common_factor); in TrySimplify()
747 new_outer_node->set_input(0, common_factor); in TrySimplify()
751 ctx().node_map->AddOutput(common_factor, new_outer_node->name()); in TrySimplify()
865 Status GetUniqueFactors(const NodeDef* node, const string& common_factor, in GetUniqueFactors() argument
882 : (inner_node->input(0) == common_factor ? 1 : 0); in GetUniqueFactors()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dfmul.ll934 define float @common_factor(float %x, float %y) {
935 ; CHECK-LABEL: @common_factor(