Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SplitIsland (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/split_into_island_per_op_pass.h

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
    
    namespace mlir {
    namespace TF {
    
    // Converts a single island into multiple islands (one for each op).
    void SplitIsland(mlir::tf_executor::IslandOp island_op,
                     mlir::tf_executor::ControlType control_type);
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 19 21:44:14 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/split_into_island_per_op_pass.cc

      island_op.getControl().dropAllUses();
    
      // Break up all islands by simply creating a new island wrapping each
      // individual sub op. Do not create any control dependencies between the
      // newly created islands.
      SplitIsland(island_op, tf_executor::ControlType::get(&getContext()));
    
      // None of the originally given control deps are necessary.
      tf_executor::FetchOp fetch_op = graph_op.GetFetch();
      int num_control_fetches =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc

        auto control_type =
            mlir::tf_executor::ControlType::get(tf_dialect->getContext());
        getOperation().walk(
            [&control_type](mlir::tf_executor::IslandOp curr_island) {
              mlir::TF::SplitIsland(curr_island, control_type);
            });
      }
    }
    
    }  // anonymous namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLaunchToDeviceAttributePass(
        bool legacy_graph_export) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc

        auto control_type = tf_executor::ControlType::get(island_op.getContext());
        for (auto& execute : executes) {
          if (execute.GetBody().getOperations().size() > 1) {
            mlir::TF::SplitIsland(execute, control_type);
          }
        }
      }
    
      island_op.erase();
    }
    
    void ParallelExecuteToIslandsPass::runOnOperation() {
      // Find islands with a single `tf_device.parallel_execute` and create
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

        auto control_type = tf_executor::ControlType::get(island_op.getContext());
        for (auto& replica : replicas) {
          if (replica.GetBody().getOperations().size() > 1) {
            mlir::TF::SplitIsland(replica, control_type);
          }
        }
      }
    
      island_op.erase();
      return success();
    }
    
    void ReplicateToIslandPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top