Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for cst0 (0.05 sec)

  1. tensorflow/compiler/mlir/lite/tests/quantize-variables.mlir

      %1 = "tfl.dequantize"(%0) : (tensor<1x32x1x3x!quant.uniform<i8:f32, 1.0>>) -> tensor<1x32x1x3xf32>
      %cst = arith.constant dense<1> : tensor<4xi32>
      %cst_0 = arith.constant dense<[0, 0, 0, 3]> : tensor<4xi32>
      %cst_1 = arith.constant dense<[0, -2, 0, 0]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions.mlir

      %cst = "tf.Const"() {value = dense<0.000000e+00> : tensor<10xf32>} : () -> tensor<10xf32>
      %cst_0 = "tf.Const"() {value = dense<[-1, 10]> : tensor<2xi32>} : () -> tensor<2xi32>
      %1 = "tf.MatMul"(%arg0, %arg1) {
        transpose_a = false, transpose_b = true
      } : (tensor<1x10xf32>, tensor<10x10xf32>) -> tensor<*xf32>
      %2 = "tf.Reshape"(%1, %cst_0) : (tensor<*xf32>, tensor<2xi32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/post-quantize.mlir

    // QDQ-NEXT:  return %[[split]]#0 : tensor<2xf32>
    }
    
    // CHECK-LABEL: FoldTranspose
    func.func @FoldTranspose(%arg0: tensor<1x10x20x3xf32>) -> tensor<1x20x40x16xf32> {
      %cst = arith.constant dense<[1, 20, 40, 16]> : tensor<4xi32>
      %cst_0 = arith.constant dense<[2, 0, 1, 3]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

      }
      // CHECK: func.func private @f_batch_callee(%[[ARG_0:.*]]: tensor<?xf32>) -> (tensor<?xf32>, tensor<0xf32>)
      // CHECK-DAG: %[[CST_0:.*]] = "tf.Const"() <{value = dense<> : tensor<0xf32>}> : () -> tensor<0xf32>
      // CHECK: return %[[ARG_0]], %[[CST_0]] : tensor<?xf32>, tensor<0xf32>
    
      func.func @f(%arg: tensor<1xf32>) -> (tensor<*xf32>, tensor<*xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

      func.return %2, %3: tensor<i32>, tensor<i32>
    
    // CHECK-DAG: %[[CST:.*]] = "tf.Const"() <{value = dense<2> : tensor<i32>}> : () -> tensor<i32>
    // CHECK-DAG: %[[CST1:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
    // CHECK-NEXT: return %[[CST]], %[[CST1]]
    }
    
    // Tests ops that variable shapes are correctly evaluated on static types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc

    constexpr absl::string_view kModuleConstantAdd = R"mlir(
      module {
        func.func @constant_add() -> (tensor<3x2xf32>) {
          %cst1 = stablehlo.constant dense<2.4> : tensor<3x2xf32>
          %cst2 = stablehlo.constant dense<5.7> : tensor<3x2xf32>
          %add = stablehlo.add %cst1, %cst2 : (tensor<3x2xf32>, tensor<3x2xf32>) -> tensor<3x2xf32>
          func.return %add : tensor<3x2xf32>
        }
      }
    )mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/duplicate_shape_determining_constants.mlir

      return %1: tensor<1x3xf32>
    }
    // CHECK-DAG: %[[CST:.*]] = "tf.Const"
    // CHECK-SAME: dense<0>
    // CHECK-DAG: %[[CST_0:.*]] = "tf.Const"
    // CHECK-SAME: dense<1>
    // Check that there are no extra "tf.Const"s existing in this function.
    // CHECK-NOT: "tf.Const"
    
    // Check that the usages of %[[CST]] and %[[CST_0]] are untouched.
    // CHECK: %[[ADD:.*]] = "tf.AddV2"(%[[CST]], %[[CST_0]])
    // CHECK: "tf.Max"({{.*}}, %[[ADD]])
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 07:44:46 UTC 2022
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/embedding_program_key.mlir

      "tf_device.launch"() ({
        %cst_0 = "tf.Const"() {value = dense<""> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
        "tf.OpA"(%cst_0) { mini_batch_splits = ""} : (tensor<1x!tf_type.string>) -> ()
        "tf.OpB"(%cst_0) { mini_batch_in_csr = ""} : (tensor<1x!tf_type.string>) -> ()
        tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 14:28:22 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/hoist_loop_invariant.mlir

    // RUN: tf-opt %s --tf-hoist-loop-invariant | FileCheck %s --dump-input=fail
    
    // CHECK-LABEL: hoist_loop_invariant
    // CHECK:       [[CST_0:%.*]] = "tf.Const"
    // CHECK-NEXT:  [[CST_1:%.*]] = "tf.Const"
    // CHECK:       [[RES_1:%.*]] = "tf.Add"([[CST_1]], [[CST_0]])
    // CHECK:       [[RES_2:%.*]] = "tf.Mul"([[RES_1]], [[CST_1]])
    // CHECK:       tf.WhileRegion
    // CHECK:       ^bb0
    // CHECK:       tf.OpA
    // CHECK:       ^bb0([[ARG_2:%[a-zA-Z0-9_]+]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 22 17:12:02 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir

    func.func @decompose_batch_norm(%arg0: tensor<*xf32>) -> (tensor<*xf32>) {
      %cst = "tf.Const"() {value = dense<1.000000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
      %cst_0 = "tf.Const"() {value = dense<0.500000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top