Searched refs:can_use_shapes (Results 1 – 2 of 2) sorted by relevance
108 Status SimplifyArithmeticOps(bool can_use_shapes);
3527 Status ArithmeticOptimizer::SimplifyArithmeticOps(bool can_use_shapes) { in SimplifyArithmeticOps() argument3543 if (options_.combine_add_to_addn && can_use_shapes) in SimplifyArithmeticOps()3551 if (options_.hoist_common_factor_out_of_aggregation && can_use_shapes) in SimplifyArithmeticOps()3553 if (options_.minimize_broadcasts && can_use_shapes) in SimplifyArithmeticOps()3555 if (options_.remove_identity_transpose && can_use_shapes) in SimplifyArithmeticOps()3679 const bool can_use_shapes = status.ok(); in Optimize() local3680 if (!can_use_shapes) { in Optimize()3685 TF_RETURN_IF_ERROR(SimplifyArithmeticOps(can_use_shapes)); in Optimize()