Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,887 for whlie (0.04 sec)

  1. tensorflow/compiler/mlir/lite/tests/reduce_while_operands.mlir

    // RUN: tf-opt -tfl-reduce-while %s | FileCheck %s
    
    // The original func we want to optimize is:
    //
    // func increase_3rd_operand_3_times():
    //   S = (1, 0, 0)
    //   whlie (S[2] < 3) {
    //     s0 = S[0] * 2
    //     s1 = S[0] + S[1]
    //     s2 = S[2] + 1
    //     S = (s0, s1, s2)
    //   }
    //   return S[2]
    // }
    //
    // Since only S[2] is returned and the computation of final S[2] does not depend
    // on S[0] and S[1]. The func can be optimized to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/while.kt

    fun test() {
        var x = 0
        <expr>consume(x)
        while (cond()) {
            consume(++x)
        }</expr>
    }
    
    fun cond(): Boolean = true
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 156 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/while-loop.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main() {
      // CHECK:      name: "while/Merge"
      // CHECK-NEXT: op: "Merge"
      // 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 {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-while-loop.pbtxt

        }
      }
    }
    node {
      name: "while/Less"
      op: "Less"
      input: "while/Merge"
      input: "while/Less/y"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "while/LoopCond"
      op: "LoopCond"
      input: "while/Less"
    }
    node {
      name: "while/Switch"
      op: "Switch"
      input: "while/Merge"
      input: "while/LoopCond"
      attr {
        key: "T"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 18:14:13 UTC 2020
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-while-loop.mlir

        %8:2 = tf_executor.Exit %7#1 : tensor<*x!tf_type.int32ref> {device = "", T = "tfdtype$DT_INT32"} loc("while/Exit")
        %10:2 = tf_executor.island(%7#2) wraps "tf.Const"() {device = "", dtype = "tfdtype$DT_INT32", value = dense<1> : tensor<i32>} : () -> tensor<i32> loc("while/Add/y")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/functional-while-ops.mlir

      }
      func.return %0#0, %0#1 : tensor<*xi32>, tensor<*xf32>
    }
    
    // Verify that While op is mapped to TensorFlow StatelessWhile op if the
    // is_stateless attribute is present and otherwise it is mapped to TensorFlow
    // While op. In both cases, the additional attribute should be dropped.
    
    // CHECK: name: "StatefulWhile"
    // CHECK-NOT: name:
    // CHECK: op: "While"
    // CHECK-NOT: is_stateless
    // CHECK-NOT: shape_invariant
    // CHECK:  attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

    // RUN: tf-opt --tfl-legalize-tf-while %s -o - | FileCheck %s
    // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline='default-pipeline=''' | FileCheck %s --check-prefix=INLINE
    // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline | FileCheck %s --check-prefix=CANON
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/functional-while-ops.pbtxt

    # Verify that TensorFlow While and StatelessWhile ops are mapped to the
    # composite While op in MLIR with is_stateless attribute set accordingly to
    # distinguish between them.
    
    # CHECK-DAG: "tf.While"{{.*}} is_stateless = false{{.*}} loc(fused["While:", "StatefulWhile"])
    # CHECK-DAG: "tf.While"{{.*}} is_stateless = true{{.*}} loc(fused["StatelessWhile:", "StatelessWhile"])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 15 19:42:47 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/while.txt

    Dmitrii Gridin <******@****.***> 1716981664 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 389 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

    // only check the message content here.
    
    // CHECK-NOT: expected control flow function {{.*}} to have exactly 1 use, found 2
    
    "builtin.module"() ({
      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top