Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for NextIteration (0.29 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/graphdef2mlir/multiple-use-next-iteration.pbtxt

    # Verify that a NextIteration node feeding two different merge nodes is properly
    # Imported.
    
    # CHECK-LABEL: func @main()
    # CHECK:         %[[NEXTITERATION:[a-z_0-9]+]], {{.*}} = tf_executor.NextIteration.Source
    # CHECK:         tf_executor.Merge {{.*}}, %[[NEXTITERATION]]
    # CHECK:         tf_executor.Merge {{.*}}, %[[NEXTITERATION]]
    
    node {
      name: "Const"
      op: "Const"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-while-loop.pbtxt

    # Verify that importing a Graph with a backedge leads to two NextIteration nodes
    # to break the cycle.
    
    # CHECK-LABEL: func @main()
    # CHECK:    %[[NEXTITERATION:[a-z0-9]+]], %[[NEXTITERATION_token:[a-z0-9]+]], {{.*}} = tf_executor.NextIteration.Source
    # CHECK:    tf_executor.Merge {{.*}} %[[NEXTITERATION]]
    
    # CHECK:    tf_executor.NextIteration.Sink[%[[NEXTITERATION_token]]]
    
    node {
      name: "Const"
      op: "Const"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 18:14:13 UTC 2020
    - 3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top