Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for NextIteration (0.33 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/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/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)
  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/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

      %0 = tf_executor.graph {
        %1:3 = tf_executor.NextIteration.Source : tensor<*xf32>
        "tf_executor.NextIteration.Sink"(%1#1, %arg1) : (!tf_executor.token, i1) -> ()
    // expected-error@-1 {{'tf_executor.NextIteration.Sink' op input type 'i1' mismatch the tf_executor.NextIteration.Source output type: 'tensor<*xf32>'}}
        tf_executor.fetch %1#0 : tensor<*xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    defined as a non-dead input (selected in a non-defined way if multiple inputs
    are non-dead). If all inputs are dead, the output is also dead.
    
    ### NextIteration: `tf_executor.NextIteration.Source` and `tf_executor.NextIteration.Sink` Operation
    
    The TensorFlow
    [`NextIteration`](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/next-iteration)
    op is modeled using these two paired operations. Since _NextIteration_ is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
Back to top