Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for 1x2xi32 (0.08 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir

      func.return %0#0 : tensor<2xi32>
    }
    
    // CHECK-LABEL: mirror_pad
    func.func @mirror_pad(%arg0: tensor<2x3xcomplex<f64>>) -> tensor<4x7xcomplex<f64>> {
      %0 = mhlo.constant dense<[[1, 1], [2, 2]]> : tensor<2x2xi32>
      // NO_FALLBACK: tf.MirrorPad
      // SUPPORTED_FALLBACK_DEVICE-NOT: tf.MirrorPad
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions_with_quantization_specs.mlir

    // RUN:   -split-input-file | FileCheck %s --check-prefix=STATIC-RANGE-PTQ-TO-COMPUTE-HEAVY
    
    // STATIC-RANGE-PTQ-TO-COMPUTE-HEAVY: @main
    func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x2xf32> {
      %0 = stablehlo.add %arg0, %arg0 : tensor<1x2xf32>
      return %0 : tensor<1x2xf32>
    }
    // Tests that `composite_add_fn_1` does not quantize when quantizing
    // only compute-heavy ops.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 18:09:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir

      // CHECK-NEXT:     %[[GROUP:.*]] = "tf.Const"()
      // CHECK-SAME:       [0, 1, 2, 3]
      // CHECK-NEXT:     %[[REDUCED:.*]] = "tf.XlaAllReduce"(%[[ID]], %[[GROUP]]) <{mode = "CrossReplica", reduce_op = "Add"}> : (tensor<f32>, tensor<1x4xi32>) -> tensor<f32>
      // CHECK-NEXT:     "tf.OpA"(%[[REDUCED]]) : (tensor<f32>) -> ()
      tf_device.replicate {n = 4 : i32} {
        "tf_device.cluster"() ({
          "tf.OpA"(%arg0) : (tensor<f32>) -> ()
          tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/group_by_dialect.mlir

      %one = "glue.constant"() { value = 1: i32 } : () -> i32
      %done = "glue.compare" (%one, %one) { predicate = #glue<"compare LTE"> } : (i32, i32) -> i1
      %2 = mhlo.constant dense<[[1.1]]> : tensor<1x1xf32>
      %3 = mhlo.multiply %2, %2 : tensor<1x1xf32>
      %cst = "tf.Const"() {value = dense<0.0> : tensor<f32>} : () -> tensor<f32>
      %0 = "tf.AddV2"(%arg0, %cst) {device = "/device:CPU:0"} : (tensor<f32>, tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 28 23:43:21 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/components/post_calibration_component.mlir

      return %2 : tensor<1x3xf32>
    }
    func.func private @composite_dot_general_fn_1(%arg0: tensor<1x1024xf32>, %arg1: tensor<1024x3xf32>) -> tensor<1x3xf32> attributes {_from_xla_call_module} {
      %0 = stablehlo.dot_general %arg0, %arg1, contracting_dims = [1] x [0] : (tensor<1x1024xf32>, tensor<1024x3xf32>) -> tensor<1x3xf32>
      return %0 : tensor<1x3xf32>
    }
    // CHECK: func.func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top