Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cloneWithoutRegions (0.24 sec)

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

          //   func bar(...) {exported_names = ["foo"]}
          // we create
          //   func foo(...) {
          //     return bar(...)
          //   }
          func::FuncOp other = f.cloneWithoutRegions();
          other.setName(name);
          SetExportedName(other, name);
          module_body.push_front(other);
          other.addEntryBlock();
          OpBuilder builder(other.getRegion());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top