Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for takeBody (0.51 sec)

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

      // Move regions to the new op.
      for (auto it : llvm::zip(op_->getRegions(), new_op->getRegions())) {
        Region& old_region = std::get<0>(it);
        Region& new_region = std::get<1>(it);
        new_region.takeBody(old_region);
      }
    
      // Insert stores to all written resources.
      for (Value resource : written_resources_) {
        ResourceInfo& info = resources_[resource];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      auto ctrl_op = op_builder.create<mlir::TFL::ControlNodeOp>(
          op_loc, cloned_op->getResultTypes(),
          mlir::TFL::ControlType::get(op->getContext()), control_tokens);
      ctrl_op.getBody().takeBody(region);
    
      // Store the control_token output for use by downstream nodes.
      maybe_control_node->second.outgoing = ctrl_op.getControl();
    
      // Remove the original op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
Back to top