Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for NextIteration (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_side_effect.mlir

    // RUN: tf-opt %s -cse  | FileCheck %s
    // Checks that CSE runs without generating invalid IR and doesn't CSE ops like
    // NextIteration.Source and NextIteration.Sink.
    // CHECK-LABEL: func @main
    // CHECK: tf_executor.NextIteration.Source
    // CHECK: tf_executor.NextIteration.Source
    // CHECK: tf_executor.NextIteration.Sink
    // CHECK: tf_executor.NextIteration.Sink
    func.func @main() -> (tensor<1xi32>, tensor<1xi32>) {
      %0, %1 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 989 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-while-loop.mlir

      // CHECK:  op: "RefMerge"
      // CHECK:  op: "RefSwitch"
      // CHECK:  op: "RefExit"
      // CHECK:  op: "RefNextIteration"
      tf_executor.graph {
        %0:3 = tf_executor.NextIteration.Source : tensor<*x!tf_type.int32ref> {device = "", T = "tfdtype$DT_INT32"} loc("while/NextIteration")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graph_pruning.mlir

        tf_executor.NextIteration.Sink[%1#1] %1#0 : i32
        tf_executor.fetch %1#0 : i32
      }
      func.return %0 : i32
    }
    
    // Check that NextIteration.sink node is deleted when the source does not have
    // any user other than the sink.
    // CHECK-LABEL: func @nextiteration_deleted(
    func.func @nextiteration_deleted(%arg0 : i32) -> i32 {
    // CHECK-NOT: tf_executor.NextIteration.Source
    // CHECK-NOT: tf_executor.NextIteration.Sink
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/while-loop.mlir

      // CHECK-NEXT: input: "while/Enter"
      // CHECK-NEXT: input: "while/NextIteration"
      // CHECK:      name: "while/NextIteration"
      // CHECK-NEXT: op: "NextIteration"
      // CHECK-NEXT: input: "while/Add"
      tf_executor.graph {
        %0:3 = tf_executor.NextIteration.Source : tensor<*xi32> {device = "", T = "tfdtype$DT_INT32"} loc("while/NextIteration")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_with_control_flow.mlir

        %NextIteration, %ctl_1 = NextIteration(%Add) name("while/NextIteration") {T = i32} : (tensor<*xi32>) -> (tensor<*xi32>)
        %Merge:2, %ctl_2 = Merge(%Enter, %NextIteration) name("while/Merge") {N = 2 : i64, T = i32} : (tensor<*xi32>, tensor<*xi32>) -> (tensor<*xi32>, tensor<*xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 18:31:38 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_arg_control_dep.mlir

        %NextIteration, %ctl_1 = NextIteration(%Const) [%arg.ctl] name("while/NextIteration") {T = i32} : (tensor<i32>) -> (tensor<*xi32>)
        %Merge:2, %ctl_2 = Merge(%Enter, %NextIteration) [%arg.ctl] name("while/Merge") {N = 2 : i64, T = i32} : (tensor<*xi32>, tensor<*xi32>) -> (tensor<*xi32>, tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 06 02:08:28 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/cc/ops/while_loop.cc

        result[i] = outputs[i].node();
      }
      return result;
    }
    
    // Manually generates the name of the `loop_var_idx`-th NextIteration node of a
    // loop being constructed with `scope`. This is used to define the backedge
    // before the NextIteration node is created.
    string NextIterationName(const Scope& scope, int loop_var_idx) {
      string result;
      const string& prefix = scope.impl()->name();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

            });
      }
    
      VisitOpOperands(graph, op, reachable_ops, ops_to_visit);
    
      // If op is a `tf_executor.NextIteration.Source`, visit its associated
      // `tf_executor.NextIteration.Sink` op.
      if (auto source_op = llvm::dyn_cast<NextIterationSourceOp>(op)) {
        Operation* sink_op = source_op.GetSink().getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/resource_operation_safety_analysis.h

    // with that limited clustering..
    //
    //
    // NB!  The result computed by this analysis assumes that we don't auto-cluster
    // back-edges (i.e. the edges from NextIteration to Merge).
    //
    // NB!  The result computed by this analysis assumes that we don't auto-cluster
    // functional control flow nodes containing resource operations.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     FloorMod 1
     GreaterEqual 7
     Identity 113
     IsVariableInitialized 1
     IteratorGetNext 1
     IteratorV2 1
     Less 9
     LogicalAnd 3
     LoopCond 8
     Max 4
     Maximum 44
     Merge 145
     Minimum 43
     Mul 8
     NextIteration 136
     RandomUniform 14
     Range 9
     RefSwitch 166
     Reshape 2
     ScatterAdd 4
     Shape 6
     ShapeN 10
     Size 2
     Snapshot 1
     StackPopV2 314
     StackPushV2 314
     StackV2 314
     StridedSlice 12
     Sub 5
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top