Home
last modified time | relevance | path

Searched refs:can_use_shapes (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.h108 Status SimplifyArithmeticOps(bool can_use_shapes);
Darithmetic_optimizer.cc3527 Status ArithmeticOptimizer::SimplifyArithmeticOps(bool can_use_shapes) { in SimplifyArithmeticOps() argument
3543 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() local
3680 if (!can_use_shapes) { in Optimize()
3685 TF_RETURN_IF_ERROR(SimplifyArithmeticOps(can_use_shapes)); in Optimize()