Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SplitIsland (0.19 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)
Back to top