Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for inner_loop (0.23 sec)

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

      for (Operation& inner_op :
           llvm::make_early_inc_range(replicate_op.GetBody())) {
        if (llvm::isa<tf_device::ReturnOp>(inner_op)) continue;
        // Skip hoisting if the inner op device attribute is a virtual device
        // defined by tf_device.replicate.
        if (DescendantUsesVirtualDevice(virtual_device_list, &inner_op)) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

        Operation *inner_op = builder.clone(*op);
    
        new_block->addArguments(op->getOperandTypes(),
                                SmallVector<Location>(op->getNumOperands(), loc));
        for (const auto &idx_args : llvm::enumerate(new_block->getArguments())) {
          inner_op->setOperand(idx_args.index(), idx_args.value());
        }
        custom_op->setAttrs(inner_op->getAttrs());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc

        // We have to recurse, since we might have wrapped a side-effectful operator
        // in a tfl::CustomTfOp.
        if (op.walk([&](Operation *inner_op) {
                return op_has_side_effects_(inner_op) ? WalkResult::interrupt()
                                                      : WalkResult::advance();
              }).wasInterrupted()) {
          ops_with_side_effects.push_back(&op);
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

    }
    
    // An island should be preserved if any of its inner ops should be preserved.
    bool GraphPruningPass::ShouldPreserveIsland(IslandOp island) {
      auto result = island.walk([this](Operation* inner_op) {
        if (ShouldPreserveOp(inner_op)) return WalkResult::interrupt();
        return WalkResult::advance();
      });
      return result.wasInterrupted();
    }
    
    // Prunes unreachable operations of a tf_executor.graph operation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top