Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for 2x8xi32 (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/optimize.mlir

        >} : (
          tensor<?x?x6xi8>, tensor<6x8xi8>
        ) -> tensor<?x?x8xi32>
      %1 = chlo.broadcast_add %0, %zp_offset : (
          tensor<?x?x8xi32>, tensor<8xi32>) -> tensor<?x?x8xi32>
      %2 = chlo.broadcast_add %1, %bias : (
          tensor<?x?x8xi32>, tensor<8xi32>) -> tensor<?x?x8xi32>
      return %2 : tensor<?x?x8xi32>
    }
    
    // -----
    
    // CHECK-LABEL: func @dot_general_add_add_static
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

          return %0 : tensor<2x2xf32>
        }
        func.func private @composite_fn_1(%arg0: tensor<2x2xf32>, %arg1: tensor<2x2xf32>) -> tensor<2x2xf32> attributes {tf_quant.composite_function} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

    }
    
    // CHECK-LABEL: prepareAdd
    func.func @prepareAdd(%arg0: tensor<2x2xf32>) -> tensor<2x2xf32> {
      %cst = arith.constant dense<[[0.0, 1.0], [2.0, 255.0]]> : tensor<2x2xf32>
      %add = "tfl.add"(%arg0, %cst) {fused_activation_function="NONE"} : (tensor<2x2xf32>, tensor<2x2xf32>) -> tensor<2x2xf32>
      func.return %add : tensor<2x2xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir

        %3 = stablehlo.concatenate %2, %1, dim = 0 : (tensor<1x3xf32>, tensor<1x3xf32>) -> tensor<2x3xf32>
        return %3 : tensor<2x3xf32>
      }
      func.func private @composite_dot_general_fn_1(%arg0: tensor<1x2xf32>, %arg1: tensor<2x3xf32>) -> tensor<1x3xf32> attributes {_from_xla_call_module, tf_quant.composite_function} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      %2 = "tf.Reshape"(%0, %cst_0) : (tensor<1x2xf32>, tensor<2xi64>) -> tensor<2x1xf32>
      func.return %1, %2 : tensor<2x1xf32>, tensor<2x1xf32>
    
    // CHECK:  %cst = arith.constant
    // CHECK:  %[[FQ:.*]] = "tf.FakeQuantWithMinMaxVars"(%arg0, %arg1, %arg2)
    // CHECK:  %[[R1:.*]] = "tf.Reshape"(%[[FQ]], %cst)
    // CHECK-SAME: tensor<2x1xf32>
    // CHECK:  %[[R2:.*]] = "tf.Reshape"(%[[FQ]], %cst)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      %2 = "tf.Reshape"(%0, %cst_0) : (tensor<1x2xf32>, tensor<2xi64>) -> tensor<2x1xf32>
      func.return %1, %2 : tensor<2x1xf32>, tensor<2x1xf32>
    
    // CHECK:  %cst = arith.constant
    // CHECK:  %[[FQ:.*]] = "tf.FakeQuantWithMinMaxVars"(%arg0, %arg1, %arg2)
    // CHECK:  %[[R1:.*]] = "tf.Reshape"(%[[FQ]], %cst)
    // CHECK-SAME: tensor<2x1xf32>
    // CHECK:  %[[R2:.*]] = "tf.Reshape"(%[[FQ]], %cst)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

          %2 = "tf.XlaCallModule"(%arg0, %1, %0) <{Sout = [#tf_type.shape<?x2>], module = "", version = 9 : i64}> {_entry_function = @composite_dot_general_fn_1, _original_entry_function = "composite_dot_general_fn_1", _tfl_quant_trait = "fully_quantizable", _quantization_method = "weight_only_ptq { }"} : (tensor<?x2xf32>, tensor<2x2xf32>, tensor<2xf32>) -> tensor<?x2xf32>
          return %2 : tensor<?x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/tests/end2end.mlir

    func.func @my_add_n_single_input(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> {
      %0 = "tf.MyAddN"(%arg0) {N=1:i32} : (tensor<2x3xf32>) -> tensor<2x3xf32>
      func.return %0 : tensor<2x3xf32>
    
    // CHECK-NEXT: return %arg0 : tensor<2x3xf32>
    }
    
    // CHECK-LABEL: my_add_n_multiple_inputs
    func.func @my_add_n_multiple_inputs(%arg0: tensor<2x3xf32>, %arg1: tensor<2x3xf32>, %arg2: tensor<2x3xf32>) -> tensor<2x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      %0 = "tf.RealDiv"(%arg0, %arg0) : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0: tensor<2xi32>
    }
    
    // CHECK-LABEL: func @sub
    func.func @sub(%arg0: tensor<2xi32>) -> tensor<2xi32> {
      // CHECK-NEXT:  %0 = mhlo.subtract %arg0, %arg0 : tensor<2xi32>
      // CHECK-NEXT:  return %0 : tensor<2xi32>
      %0 = "tf.Sub"(%arg0, %arg0) : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0: tensor<2xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/tests/ops.mlir

      func.return %0 : tensor<i32>
    }
    
    // -----
    
    // CHECK-LABEL: constant_tensor_vector
    func.func @constant_tensor_vector(%arg0: vector<1x2xi32>) -> tensor<1x2xi32> {
      %0 = "tfr.constant_tensor"(%arg0) : (vector<1x2xi32>) -> tensor<1x2xi32>
      func.return %0 : tensor<1x2xi32>
    }
    
    // -----
    
    // CHECK-LABEL: constant_tensor_array
    func.func @constant_tensor_array() -> !tfr.tensor {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top