Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for NextIteration (0.32 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/ir/tf_executor_ops.td

    }
    
    def TfExecutor_NextIterationSourceOp : TfExecutor_Op<"NextIteration.Source",
        [HasParent<"GraphOp">]> {
      let summary = [{
        The "tf_executor.NextIteration.Source" is paired with a
        "tf_executor.NextIteration.sink" to represent NextIteration op in
        Tensorflow.
      }];
    
      let description = [{
        Tensorflow NextIteration operation forwards its input to the next iteration
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_device_propagation.mlir

      }
      func.return
    }
    
    // Tests tf_executor.NextIteration.Source/tf_executor.NextIteration.Sink has a
    // device when an intermediate op in its loop has a device.
    
    // CHECK-LABEL: func @testNextIterationNoDevice
    func.func @testNextIterationNoDevice() {
      tf_executor.graph {
        // CHECK:      tf_executor.NextIteration.Source
        // CHECK-SAME: device = "/job:localhost/replica:0/task:0/device:TPU:0"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 19K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top