Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 180 for 2xf32 (0.05 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

    static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
      func.func @main(%arg0 : tensor<1xf32>) -> tensor<1xf32> {
        %0 = "tf.Acos"(%arg0) : (tensor<1xf32>) -> tensor<1xf32>
       func.return %0 : tensor<1xf32>
      }
    })";
    
    static constexpr char kBadMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/fold-broadcast.mlir

    func.func @broadcast_mul0(%arg0: tensor<5x7xf32>, %arg1: tensor<7xf32>) -> tensor<5x7xf32> {
      %cst = arith.constant dense<[5, 7]> : tensor<2xi32>
      %0 = "tf.BroadcastTo"(%arg1, %cst) : (tensor<7xf32>, tensor<2xi32>) -> tensor<5x7xf32>
      %1 = "tf.Mul"(%arg0, %0) : (tensor<5x7xf32>, tensor<5x7xf32>) -> tensor<5x7xf32>
      func.return %1 : tensor<5x7xf32>
      // CHECK: %[[V0:.*]] = "tf.Mul"(%arg0, %arg1) : (tensor<5x7xf32>, tensor<7xf32>) -> tensor<5x7xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fake_quant.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate -tflite-flatbuffer-to-mlir - -o - | FileCheck --check-prefix=IMPORT %s
    
    func.func @main(tensor<4xf32>) -> tensor<4xf32> {
    ^bb0(%arg0: tensor<4xf32>):
    // CHECK: {
    // CHECK-NEXT:   version: 3,
    // CHECK-NEXT:     operator_codes: [ {
    // CHECK-NEXT:       deprecated_builtin_code: 80,
    // CHECK-NEXT:       version: 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/unranked_function_output.mlir

    // CHECK:     "tfl.yield"(%[[RES1]]) : (tensor<*xf32>) -> ()
    // CHECK:   }) : (tensor<1xf32>) -> tensor<*xf32>
    // CHECK:   return %0 : tensor<*xf32>
    // CHECK: }
    func.func @main(%arg0: tensor<1xf32>) -> tensor<*xf32> {
      %0 = "tf.While"(%arg0) {cond = @cond, body = @body, is_stateless = false} : (tensor<1xf32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 11 07:12:22 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

          } : (tensor<1xf32>, tensor<f32>, tensor<i32>) -> tensor<1x!tf_type.qint8>
          %1 = "tf.UniformDequantize"(%0, %scales, %zps) {
            quantization_axis = -1 : i64, quantization_min_val = -128 : i64, quantization_max_val = 127 : i64
          } : (tensor<1x!tf_type.qint8>, tensor<f32>, tensor<i32>) -> tensor<1xf32>
          func.return %1 : tensor<1xf32>
        }
      })mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/variant_type_on_func.mlir

    // CHECK-NEXT:    buffer: 2
    // CHECK-NEXT:  } ],
    // CHECK-NEXT:  signature_defs: [  ]
    // CHECK-NEXT: }
    func.func @main(%arg0 : tensor<!tf_type.variant<tensor<2xi32>>>) -> tensor<!tf_type.variant<tensor<2xi32>>> {
      func.return %arg0 : tensor<!tf_type.variant<tensor<2xi32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 16 20:36:14 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/optimize_op_order.mlir

    // CHECK-NEXT: tfl.gather
    // CHECK-NEXT: tfl.dequantize
    }
    
    // CHECK-LABEL: dequantize_pushdown_gather_with_reduction
    func.func @dequantize_pushdown_gather_with_reduction(%arg0: tensor<2xi32>) -> tensor<2x2xf32> {
      %w = "tfl.pseudo_qconst"() {qtype = tensor<12x2x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>, value = dense<127> : tensor<12x2xi8>} : () -> tensor<12x2x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 01 02:06:15 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list-default-to-single-batch.mlir

      %cst = arith.constant dense<[-1, 7]> : tensor<2xi32>
      %0 = "tf.TensorListReserve"(%cst, %arg0) : (tensor<2xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<?x7xf32>>>
      %1 = "tf.TensorListGetItem"(%0, %arg1, %cst) : (tensor<!tf_type.variant<tensor<?x7xf32>>>, tensor<i32>, tensor<2xi32>) -> tensor<?x7xf32>
      func.return %1 : tensor<?x7xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 766 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/signature.mlir

        %cst = arith.constant dense<0.000000e+00> : tensor<5xf32>
        %cst_0 = arith.constant dense<1.0> : tensor<5x384xf32>
        %cst_1 = arith.constant dense<1.0> : tensor<5x384xf32>
        %0 = "tfl.fully_connected"(%arg0, %cst_0, %cst) {fused_activation_function = "NONE", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<?x384xf32>, tensor<5x384xf32>, tensor<5xf32>) -> tensor<?x5xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:35:24 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def_with_no_inputs.mlir

      func.func @main() -> (tensor<5xf32> {tf_saved_model.index_path = ["start_logits"]}) attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "StatefulPartitionedCall:1"}, tf_saved_model.exported_names = ["serving_default"]} {
        %cst = arith.constant dense<0.000000e+00> : tensor<5xf32>
        func.return %cst : tensor<5xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top