Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MoveBranches (0.44 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

        if (!safe_to_merge) break;
      }
      return safe_to_merge;
    }
    
    // Move the body excluding the terminators of else and then regions from
    // 'second_if' to 'first_if'.
    void MoveBranches(TF::IfRegionOp first_if, TF::IfRegionOp second_if) {
      Block& first_if_then_block = first_if.getThenBranch().front();
      auto& second_if_then_body = second_if.getThenBranch().front().getOperations();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
Back to top