Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for F32 (0.05 sec)

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

    func.func @testAbs(tensor<? x f32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: "tfl.abs"(%arg0)
      %0 = "tfl.abs"(%arg0): (tensor<? x f32>) -> tensor<? x f32>
      func.return %0 : tensor<? x f32>
    }
    
    // CHECK-LABEL: testAddN
    func.func @testAddN(tensor<? x f32>, tensor<? x f32>, tensor<? x f32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<? x f32>, %arg1: tensor<? x f32>, %arg2: tensor<? x f32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %0:3 = "tf.CaseRegion"(%index) ({
          %mul = "tf.Mul"(%arg0, %arg1) : (tensor<f32>, tensor<f32>) -> tensor<f32>
          "tf.Yield"(%arg1, %mul, %arg2) : (tensor<f32>, tensor<f32>, tensor<!tf_type.resource>) -> ()
        }, {
          %sub = "tf.Sub"(%arg0, %arg1) : (tensor<f32>, tensor<f32>) -> tensor<f32>
          "tf.Yield"(%arg1, %sub, %arg2) : (tensor<f32>, tensor<f32>, tensor<!tf_type.resource>) -> ()
        }, {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK: return %[[CONV2D]] : tensor<1x3x3x2x!quant.uniform<i8:f32, 4.000000e+00>>
    
    // -----
    
    func.func @convolution_upstream_srq_non_const_filter(%arg0: tensor<1x3x3x4x!quant.uniform<i8:f32, 1.000000e+0:-100>>, %arg1: tensor<3x3x4x2x!quant.uniform<i8:f32:3, {2.000000e+2, 3.000000e+3}>>) -> tensor<1x3x3x2x!quant.uniform<i8:f32, 4.000000e+0>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let arguments = (
        ins TFL_TensorOf<[F32, QI8, QI16]>:$input,
    
        // Weights
        TFL_TensorOfOrNone<[F32, QI8]>:$input_to_input_weights,
        TFL_TensorOf<[F32, QI8]>:$input_to_forget_weights,
        TFL_TensorOf<[F32, QI8]>:$input_to_cell_weights,
        TFL_TensorOf<[F32, QI8]>:$input_to_output_weights,
    
        // Recurrent weights
        TFL_TensorOfOrNone<[F32, QI8]>:$recurrent_to_input_weights,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

      %1 = "tf.Const"() {value = dense<0.0> : tensor<f32>} : () -> tensor<f32>
      %2 = "tf.Const"() {value = dense<0.0> : tensor<f32>} : () -> tensor<f32>
      %3 = "tf.Const"() {value = dense<0.0> : tensor<f32>} : () -> tensor<f32>
      func.return %0, %1, %2, %3 : tensor<f32>, tensor<f32>, tensor<f32>, tensor<f32>
    }
    
    // CHECK-LABEL: func @tflite_custom_nms(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    func.func @mul_complex32(%arg0: tensor<14xcomplex<f32>>, %arg1: tensor<14xcomplex<f32>>) -> tensor<14xcomplex<f32>> {
      %0 = "tf.Mul"(%arg0, %arg1) : (tensor<14xcomplex<f32>>, tensor<14xcomplex<f32>>) -> tensor<14xcomplex<f32>>
      func.return %0: tensor<14xcomplex<f32>>
    
    // CHECK-LABEL: mul_complex32
    // CHECK:  tfl.mul %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<14xcomplex<f32>>
    // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      %0 = "tf.FakeQuantWithMinMaxVars"(%arg0, %arg1, %arg2) : (tensor<8x8x8x8xf32>, tensor<f32>, tensor<f32>) -> tensor<8x8x8x8xf32>
      func.return %0 : tensor<8x8x8x8xf32>
    }
    
    // -----
    
    // Test invalid tf.FakeQuantWithMinMaxVars
    func.func @testInvalidFakeQuantWithMinMaxVarsWrongAttr(tensor<8x8x8x8xf32>, tensor<f32>, tensor<f32>) -> tensor<8x8x8x8xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

            // expected-remark@above {{ID: 0}}
            %const = "tf.Const"() { value = dense<1.0> : tensor<f32> } : () -> tensor<f32>
            // expected-remark@above {{ID: 1}}
            %1 = "tf._XlaRecvAtHostV2"(%arg0, %arg1) {_xla_has_host_transfer = true, key = "host_compute_channel_1_args"} : (tensor<!tf_type.string>, tensor<i64>) -> tensor<f32>
            // expected-remark@above {{ID: 2}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

              %0 = "tf.opA"(%arg0) : (tensor<f32>) -> tensor<f32>
              return %0 : tensor<f32>
            }
          }
        }
        ```
    
        will be transformed into:
    
        ```mlir
        module  {
          func @foo(%arg0: tensor<f32>) -> tensor<f32> {
            %0 = tf_executor.graph {
              %outputs, %control = tf_executor.island {
                %1 = "tf.opA"(%arg0) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        %1:2 = "tfl.unpack"(%0) {axis = 0 : i32, num = 2 : i32} : (tensor<2x!quant.uniform<u8:f32, 0.007:128>>) -> (tensor<*x!quant.uniform<u8:f32, 0.007:128>>, tensor<*x!quant.uniform<u8:f32, 0.007:128>>)
        func.call @quant_fn(%1#0) : (tensor<*x!quant.uniform<u8:f32, 0.007:128>>) -> ()
    
        func.return %1#1 : tensor<*x!quant.uniform<u8:f32, 0.007:128>>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top