Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for 5xf64 (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

    }
    
    // CHECK-LABEL: func @testEmpty64
    func.func @testEmpty64() -> (tensor<5xi64>) {
      %0 = "tf.Const"() { value = dense<5> : tensor<i32> } : () -> tensor<i32>
    
      // CHECK: [[VAL:%.+]] = "tf.Const"() <{value = dense<0> : tensor<5xi64>}>
      // CHECK: return [[VAL]] : tensor<5xi64>
      %1 = "tf.Empty"(%0) : (tensor<i32>) -> (tensor<5xi64>)
      func.return %1 : tensor<5xi64>
    }
    
    // CHECK-LABEL: func @testEmptyFloat
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

        // CHECK-NOT: tf.BesselI0e
        %0 = "tf.BesselI0e"(%arg0) : (tensor<3xf16>) -> (tensor<3xf16>)
        %1 = "tf.BesselI0e"(%arg1) : (tensor<3xf32>) -> (tensor<3xf32>)
        %2 = "tf.BesselI0e"(%arg2) : (tensor<3xf64>) -> (tensor<3xf64>)
        func.return %0, %1, %2 : tensor<3xf16>, tensor<3xf32>, tensor<3xf64>
      }
    
      // CHECK-LABEL: bessel_i1e
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (1)
  3. tensorflow/compiler/mlir/lite/tests/lift_tflite_flex_ops.mlir

    func.func @TfAdd(%arg0: tensor<4xf64>, %arg1: tensor<4xf64>) -> tensor<4xf64> {
      %0 = "tfl.custom"(%arg0, %arg1) {
        custom_code = "FlexAdd",
        custom_option = #tfl<const_bytes : "0x03416464001412034164641A001A002A070A015412023002320000021B171414042801">
      } : (tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64>
    
    // CHECK: "tf.Add"(%arg0, %arg1) {T = f64}  : (tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64>
      func.return %0 : tensor<4xf64>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_f64.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops -o - | flatbuffer_to_string - | FileCheck %s
    
    func.func @main(tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64> {
    ^bb0(%arg0: tensor<4xf64>, %arg1: tensor<4xf64>):
    // CHECK:  {
    // CHECK-NEXT:  version: 3,
    // CHECK-NEXT:  operator_codes: [ {
    // CHECK-NEXT:    deprecated_builtin_code: 32,
    // CHECK-NEXT:    custom_code: "FlexAdd",
    // CHECK-NEXT:    builtin_code: CUSTOM
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/tests/shlo_simplify.mlir

    // -----
    
    func.func @foldDivF64() -> tensor<2xf64> {
      %0 = stablehlo.constant dense<[2.0, 3.0]> : tensor<2xf64>
      %1 = stablehlo.constant dense<[4.0, 6.0]> : tensor<2xf64>
      %2 = stablehlo.divide %0, %1 : tensor<2xf64>
      return %2 : tensor<2xf64>
    }
    
    // CHECK-LABEL: foldDivF64
    // CHECK: stablehlo.constant dense<5.000000e-01> : tensor<2xf64>
    
    // -----
    
    func.func @foldDivI32() -> tensor<2xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 03:05:20 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_tf_drq.mlir

        %range_nume = "tf.Sub"(%r_max_f64, %r_min_f64) : (tensor<1xf64>, tensor<1xf64>) -> tensor<1xf64>
        %range_deno = "tf.Sub"(%i8_max_f64, %i8_min_f64) : (tensor<f64>, tensor<f64>) -> tensor<f64>
    
        %scale_f64 = "tf.Div"(%range_nume, %range_deno) : (tensor<1xf64>, tensor<f64>) -> tensor<1xf64>
        %scale = "tf.Cast"(%scale_f64) : (tensor<1xf64>) -> tensor<1xf32>
    
        // Add comparison with minimum if needed
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir

      %98 = "tf.Reshape"(%97, %cst_2) : (tensor<7x1x8x6x1x6x1x1x18xbf16>, tensor<5xi64>) -> tensor<7x8x6x6x18xbf16>
      func.return %98 : tensor<7x8x6x6x18xbf16>
    
      // CHECK-DAG: %[[CST:.*]] = "tf.Const"() <{value = dense<[1, 8, 1, 1, 18]> : tensor<5xi64>}> : () -> tensor<5xi64>
      // CHECK-DAG: %[[CST1:.*]] =  "tf.Const"() <{value = dense<[7, 8, 6, 6, 18]> : tensor<5xi64>}> : () -> tensor<5xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

      func.return %0#0 : tensor<*xf32>
    }
    
    // CHECK-LABEL: @RewriteSendRecvOps
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-quantize-dynamic-range.mlir

      %1 = "tfl.shape"(%conv_s) : (tensor<?x26x26x26x16xf32>) -> tensor<5xi64>
      %2 = "tfl.broadcast_args"(%1, %cst) : (tensor<5xi64>, tensor<1xi64>) -> tensor<5xi64>
      %broad1 = "tfl.broadcast_to"(%conv_s, %2) : (tensor<?x26x26x26x16xf32>, tensor<5xi64>) -> tensor<?x26x26x26x16xf32>
      %broad2 = "tfl.broadcast_to"(%b, %2) : (tensor<16xf32>, tensor<5xi64>) -> tensor<?x26x26x26x16xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/legalize-tensorlist.mlir

    func.func @typeNotSupportedNotLegalized(%arg0: tensor<!tf_type.variant<tensor<*xf64>>>, %arg1: tensor<i32>, %arg2: tensor<*xf64>) -> tensor<!tf_type.variant<tensor<*xf64>>> {
      %0 = "tf.TensorListSetItem"(%arg0, %arg1, %arg2) : (tensor<!tf_type.variant<tensor<*xf64>>>, tensor<i32>, tensor<*xf64>) -> tensor<!tf_type.variant<tensor<*xf64>>>
      // CHECK-NOT: "tfl.custom"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top