Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for while_loop (0.19 sec)

  1. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileLoop.txt

    Kristoffer Andersen <******@****.***> 1659368814 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 86 bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    #include "tensorflow/c/experimental/filesystem/modular_filesystem.h"
    #include "tensorflow/cc/framework/gradients.h"
    #include "tensorflow/cc/framework/ops.h"
    #include "tensorflow/cc/framework/scope_internal.h"
    #include "tensorflow/cc/ops/while_loop.h"
    #include "tensorflow/cc/saved_model/loader.h"
    #include "tensorflow/core/distributed_runtime/server_lib.h"
    #include "tensorflow/core/framework/logging.h"
    #include "tensorflow/core/framework/op_gen_lib.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // This method is used to add a new input edge to 'dst', which must be a While
    // op. The While op's "T" attribute must have already been updated to include
    // the new edge. This is used to construct tf.while_loop gradients.
    TF_CAPI_EXPORT extern void TF_AddWhileInputHack(TF_Graph* graph,
                                                    TF_Output new_src,
                                                    TF_Operation* dst,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      for (auto extra_operand : extra_operands)
        new_types.push_back(extra_operand.getType());
    
      auto new_while_op = OpBuilder(while_op).create<WhileOp>(
          while_op.getLoc(), new_types, operands, while_op->getAttrs());
      new_while_op.getCond().takeBody(while_op.getCond());
      new_while_op.getBody().takeBody(while_op.getBody());
      while_op.replaceAllUsesWith(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

          return;
        }
        if (auto while_op = dyn_cast<TF::WhileOp>(op)) {
          for (auto callee : {while_op.cond_function(), while_op.body_function()}) {
            PropagatePotentiallyWrittenUpFromCallee(callee.getRegion(),
                                                    while_op.getInput());
          }
          return;
        }
        if (auto while_op = dyn_cast<TF::WhileRegionOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      for (int64_t i = 0; i < while_op.getNumResults(); ++i) {
        auto it = buffer_to_size->find(while_op.getOperand(i));
        if (it == buffer_to_size->end()) continue;
        new_while_operands.push_back(it->getSecond().size);
      }
      auto new_while = builder.create<TF::WhileRegionOp>(
          while_op.getLoc(), body_region.front().getTerminator()->getOperandTypes(),
          new_while_operands, while_op->getAttrs());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/tf_dataflow.h

              while_op, while_op.getCondAttr());
          func::FuncOp body = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(
              while_op, while_op.getBodyAttr());
          for (auto &arg : while_op->getOpOperands()) {
            BlockArgument cond_arg = cond.getArgument(arg.getOperandNumber());
            this->join(getLatticeElement(cond_arg), *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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

    }
    
    LogicalResult ConvertWhileOp(WhileOp while_op, bool allow_passthrough_args) {
      auto while_region = OpBuilder(while_op).create<TF::WhileRegionOp>(
          while_op.getLoc(), while_op.getResultTypes(), while_op.getInput(),
          while_op.getParallelIterations(), while_op.getIsStateless(),
          while_op.getShapeInvariant());
      CopyDeviceAndUnderscoredAttributes(while_op, while_region);
    
      YieldOp cond_yield =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_while_results.cc

    };
    
    // Prunes result defining op if possible, returns true if pruning was done.
    bool TryPruneResultDefiningOp(TF::WhileRegionOp while_op, OpResult result) {
      // Don't prune if result is used.
      if (!result.use_empty()) return false;
    
      Block& body_block = while_op.getBody().front();
      Block& cond_block = while_op.getCond().front();
      Operation* body_yield_op = body_block.getTerminator();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 16 01:49:07 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

          id_map[i] = j++;
          new_operands.push_back(while_op.getOperand(i));
          new_result_types.push_back(while_op.getResultTypes()[i]);
        }
      }
    
      auto new_while_op = OpBuilder(while_op).create<WhileOp>(
          while_op.getLoc(), new_result_types, new_operands, while_op->getAttrs());
      new_while_op.getCond().takeBody(while_op.getCond());
      new_while_op.getBody().takeBody(while_op.getBody());
    
      for (auto i = 0; i < n; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top