Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CanonicalizeFunctionalWhile (0.17 sec)

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

      EliminateUnusedResultsForIfCase(op, branches);
      return success();
    }
    
    // Canonicalizes a functional while. Forwards common argument to results and
    // drop resource results if posible.
    LogicalResult CanonicalizeFunctionalWhile(TF::WhileOp op) {
      for (func::FuncOp func : {op.cond_function(), op.body_function()}) {
        if (failed(CleanupAndCanonicalize(func))) return failure();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top