Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for insert_point (0.15 sec)

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

      // IslandOps always have a control result.
      result_types.push_back(
          ControlType::get(merged_island.insert_point->getContext()));
    
      OpBuilder builder(merged_island.insert_point);
      auto new_island = builder.create<IslandOp>(
          merged_island.insert_point->getLoc(), result_types, operands);
      new_island.getBody().push_back(new Block);
      return new_island;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.cc

                                             mlir::Location loc,
                                             mlir::Operation* op,
                                             llvm::StringRef device) {
      mlir::OpBuilder::InsertPoint insert_point = builder->saveInsertionPoint();
    
      auto launch = builder->create<mlir::tf_device::LaunchOp>(
          loc, builder->getStringAttr(device), op->getResultTypes());
      launch.getBody().push_back(new mlir::Block);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

    }
    
    // Wraps single op in `tf_device.launch` for explicit device assignment.
    void WrapOpInLaunch(OpBuilder* builder, Location loc, Operation* op,
                        llvm::StringRef device) {
      OpBuilder::InsertPoint insert_point = builder->saveInsertionPoint();
    
      auto launch = builder->create<tf_device::LaunchOp>(
          loc, builder->getStringAttr(device), op->getResultTypes());
      launch.getBody().push_back(new Block);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/python/mlir_wrapper/builders.cc

              py::return_value_policy::reference)
          .def("getContext", &mlir::OpBuilder::getContext,
               py::return_value_policy::reference);
    
      py::class_<mlir::OpBuilder::InsertPoint>(m, "OpBuilder_InsertionPoint")
          .def("getBlock", &mlir::OpBuilder::InsertPoint::getBlock);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 08:44:55 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultExecutionPlan.java

                    }
                    ListIterator<Node> insertPoint = queue.listIterator();
                    for (Node successor : node.getDependencySuccessors()) {
                        if (!visiting.contains(successor)) {
                            insertPoint.add(successor);
                        }
                    }
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java

                    for (Node finalizer : node.getFinalizers()) {
                        addFinalizerToQueue(visitingSegmentCounter++, finalizer);
                    }
    
                    ListIterator<NodeInVisitingSegment> insertPoint = nodeQueue.listIterator();
                    for (Node successor : node.getAllSuccessors()) {
                        if (visitingNodes.containsEntry(successor, currentSegment)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc

    //    function.
    TF::PartitionedCallOp FinalizeFunctionRegister(
        PatternRewriter& rewriter, Value input, Value output,
        func::FuncOp& quantization_func, Operation* quantized_op,
        StringRef func_name, IRRewriter::InsertPoint original_point,
        Type quantize_result_type) {
      rewriter.create<func::ReturnOp>(input.getLoc(), ArrayRef<Value>({output}));
    
      quantization_func.setVisibility(func::FuncOp::Visibility::Private);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top