Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 214 for cst0 (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tfrt/tests/ifrt/lower_to_ifrt_restore_variable.mlir

    module {
      func.func @restore_single() {
        %cst = "tf.Const"() <{value = dense<"restore_ariables"> : tensor<!tf_type.string>}> : () -> tensor<!tf_type.string>
        %cst_0 = "tf.Const"() <{value = dense<""> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string>
        %cst_1 = "tf.Const"() <{value = dense<"y"> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/push-tpose-through-ewise.mlir

      %cst = arith.constant dense<1.0> : tensor<5x2x3x4xf32>
      %1 = tfl.add %0, %cst { fused_activation_function = "NONE" } : tensor<5x2x3x4xf32>
      func.return %1 : tensor<5x2x3x4xf32>
    }
    
    // CHECK: %cst = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32>
    // CHECK: %cst_0 = arith.constant dense<1.000000e+00> : tensor<2x3x4x5xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/propagate_quantize_type.mlir

    }
    
    // -----
    
    module {
      func.func @not_propagate_last_op(%arg0: tensor<10x2xi32>) -> tensor<1x300x10xf32> {
        %cst = "tf.Const"() {value = dense<[1, 1, 300]> : tensor<3xi64>} : () -> tensor<3xi64>
        %cst_0 = "tf.Const"() {value = dense<127> : tensor<200x100x300xi8>} : () -> tensor<200x100x300xi8>
        %0 = "tf.Identity"(%cst_0) : (tensor<200x100x300xi8>) -> tensor<200x100x300xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top