Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for nilcheck (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/merge_control_flow.mlir

    // RUN: tf-opt %s -tf-merge-control-flow | FileCheck %s
    
    // Check that IfRegions with different predicates are not merged.
    
    // CHECK-LABEL: func @different_predicate_no_merge
    func.func @different_predicate_no_merge() {
      // CHECK:      tf_device.cluster
      // CHECK:        "tf.IfRegion"
      // CHECK:        "tf.IfRegion"
      "tf_device.cluster"() ({
        %0 = "tf.Const"() {value = dense<true> : tensor<i1>} : () -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 63.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

    // RUN: tf-quant-opt %s -split-input-file -inline -quant-replace-cast-hacks-with-tf-xla-ops | FileCheck %s
    
    // -----
    
    module attributes {} {
      func.func @conv_with_bias_and_relu(%arg0: tensor<1x3x4x3xf32>) -> tensor<1x3x2x2xf32> {
        %cst = "tf.Const"() {value = dense<[162, 160]> : tensor<2xi32>} : () -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

    // RUN: tf-tfrt-opt -split-input-file -tf-mlrt-while-to-map-fn %s | FileCheck %s
    
    // Test a while to map_fn conversion in which the max iteration is hard coded inside the predicate body.
    
    // CHECK-LABEL: map/while_cond
    func.func private @"map/while_cond"(%arg0: tensor<i32>, %arg1: tensor<i32>, %arg2: tensor<!tf_type.variant<tensor<*xf32>>>, %arg3: tensor<?xf32>) -> tensor<i1> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-resource-op-lifting | FILECHECK_OPTS="" FileCheck %s
    
    // Tests that resource load operations are hoisted.
    
    // CHECK-LABEL: func @only_resource_load
    func.func @only_resource_load() -> tensor<*xi32> {
    
      // CHECK: %[[RES_HANDLE:[0-9]*]] = "tf.VarHandleOp"
      %0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<tensor<*xi32>>>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 74K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

    // RUN: tf-opt %s -test-tf-lower-tf | FileCheck %s
    
    // CHECK-LABEL: invert_permutation
    func.func @invert_permutation(%arg0: tensor<5xi32>) -> tensor<5xi32> {
      // CHECK-DAG: %[[UPDATES:.*]] = "tf.Const"() <{value = dense<[0, 1, 2, 3, 4]> : tensor<5xi32>}> : () -> tensor<5xi32>
      // CHECK-DAG: %[[SHAPE:.*]] = "tf.Const"() <{value = dense<[5, 1]> : tensor<2xi32>}> : () -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
Back to top