Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IslandOp (0.37 sec)

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

      // We only call this function for island or fetch ops. The second pair of
      // parentheses is needed for successful compilation.
      assert((isa<IslandOp, FetchOp>(op)));
      mlir::MutableOperandRange mutable_control_inputs =
          isa<IslandOp>(op) ? cast<IslandOp>(op).getControlInputsMutable()
                            : cast<FetchOp>(op).getFetchesMutable();
      // Add control inputs in program order of the defining ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 07:53:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

      SymbolTable outlined_symbol_table(outlined_module);
    
      // Find every island that contains a TPU node and extract it into a new module
      // to run the V1 bridge there.
      llvm::SmallVector<IslandOp, 8> islands_to_outline;
      getOperation().walk([&](IslandOp island_op) {
        auto parent_func = island_op->getParentOfType<func::FuncOp>();
        auto skip_island_outlining =
            parent_func->getAttrOfType<BoolAttr>(mlir::TF::kSkipIslandOutlining);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc

        // violate the invariant imposed by the GraphExport pipeline that every
        // IslandOp perfectly wraps a single op.
        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);
            });
      }
    }
    
    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/analysis/tf_dataflow.h

              auto result = graph.getResult(arg.getOperandNumber());
              this->join(getLatticeElement(result), *getLatticeElement(arg.get()));
            }
          }
        } else if (auto island = dyn_cast<tf_executor::IslandOp>(op)) {
          for (auto &arg : island.GetYield()->getOpOperands()) {
            auto result = island.getResult(arg.getOperandNumber());
            this->join(getLatticeElement(result), *getLatticeElement(arg.get()));
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top