Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for while_v1 (0.2 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    //CHECK-NEXT: return %0#0 : tensor<448xf32>
    //CHECK-NEXT:}
    
    func.func @while(%init_i: tensor<i64>, %init_sum: tensor<i64>) -> tensor<i64>{
      %0, %1 = "vhlo.while_v1"(%init_i, %init_sum) ({
        ^bb0(%arg0: tensor<i64>, %arg1: tensor<i64>):
          %cond = "vhlo.compare_v1"(%arg0, %arg1) {
            comparison_direction = #vhlo<comparison_direction_v1 LT>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      });
      module.walk([&](mlir::vhlo::WhileOpV1 while_op) {
        auto cond = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("cond").cast<mlir::FlatSymbolRefAttr>().getValue());
        InlineVhloOpRegion(while_op.getCond(), cond);
        while_op->removeAttr("cond");
        auto body = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/while_op.mlir

    Michael Gester <******@****.***> 1654314705 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 04 03:54:58 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/while_op.mlir

    Meghna Natraj <******@****.***> 1657816346 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/while_op.mlir

    Meghna Natraj <******@****.***> 1657816346 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/while_op.mlir

    Tres Popp <******@****.***> 1648205406 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/while_op.mlir

    Michael Gester <******@****.***> 1654314705 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 04 03:54:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top