Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 118 for 0235 (0.04 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

    }
    
    // CHECK-LABEL:   func.func @avg_pool2d_1(
    // CHECK-SAME:                            %[[VAL_0:.*]]: tensor<1x3x6x6xf32>) -> tensor<*xf32> {
    // CHECK:           %[[VAL_1:.*]] = arith.constant dense<[0, 2, 3, 1]> : tensor<4xi32>
    // CHECK:           %[[VAL_2:.*]] = "tfl.transpose"(%[[VAL_0]], %[[VAL_1]]) : (tensor<1x3x6x6xf32>, tensor<4xi32>) -> tensor<1x6x6x3xf32>
    // CHECK:           %[[VAL_3:.*]] = arith.constant dense<0> : tensor<4x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_to_nchw.mlir

    // CHECK-LABEL: func @transposeConv2D
    func.func @transposeConv2D(%arg0: tensor<1x3x32x32xf32>, %arg1: tensor<1x1x3x8xf32>) -> tensor<1x8x32x32xf32> {
    
      // Convert input: NCHW -> NHWC
      %0 = "tf.Const"() {value = dense<[0, 2, 3, 1]> : tensor<4xi32>} : () -> tensor<4xi32>
      %1 = "tf.Transpose"(%arg0, %0) : (tensor<1x3x32x32xf32>, tensor<4xi32>) -> tensor<1x32x32x3xf32>
    
      // Compute in NHWC
      %2 = "tf.Conv2D"(%1, %arg1)
        {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.cc

    }
    
    SmallVector<int64_t, 4> GetDataFormatPermutation(StringRef from, StringRef to) {
      if (from == "NHWC" && to == "NCHW") {
        return {0, 3, 1, 2};
      } else if (from == "NCHW" && to == "NHWC") {
        return {0, 2, 3, 1};
      } else {
        return {};
      }
    }
    
    // Shuffle elements in the `attr` according to the permutation. Optional
    // `inner_size` allows to shuffle array attributes created from rank 2 tensors
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. test/ken/robfunc.go

    }
    
    
    func f9(a int) (in int, fl float64) {
    	i := 9
    	f := float64(9)
    	return i, f
    }
    
    
    func main() {
    	f1()
    	f2(1)
    	r3 := f3(1, 2)
    	assertequal(r3, 3, "3")
    	r4 := f4(0, 2, 3.0)
    	assertequal(r4, 4, "4")
    	r5 := f5(1)
    	assertequal(r5, 5, "5")
    	r6 := f6(1)
    	assertequal(r6, 6, "6")
    	var r7 int
    	var s7 float64
    	r7, s7 = f7(1)
    	assertequal(r7, 7, "r7")
    	assertequal(int(s7), 7, "s7")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 1.4K bytes
    - Viewed (0)
  5. test/func.go

    	return (t.x + a) * (t.y + int(b))
    }
    
    
    func f9(a int) (i int, f float32) {
    	i = 9
    	f = 9.0
    	return
    }
    
    
    func main() {
    	f1()
    	f2(1)
    	r3 := f3(1, 2)
    	assertequal(r3, 3, "3")
    	r4 := f4(0, 2, 3.0)
    	assertequal(r4, 4, "4")
    	r5 := f5(1)
    	assertequal(r5, 5, "5")
    	r6 := f6(1)
    	assertequal(r6, 6, "6")
    	r7, s7 := f7(1)
    	assertequal(r7, 7, "r7")
    	assertequal(int(s7), 7, "s7")
    	r8, s8 := f8(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 03:28:53 UTC 2012
    - 1.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

            request.setParameter("geo.location.2.distance", "1km");
    
            final GeoInfo geoInfo = new GeoInfo(request);
            String result =
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/convert_tpu_model_to_cpu.mlir

      %cst_0 = "tf.Const"() {device = "", value = dense<[0, 3, 1, 2]> : tensor<4xi32>} : () -> tensor<4xi32>
      %cst_1 = "tf.Const"() {_tpu_replicate = "cluster", device = "", value = dense<[0, 2, 3, 1]> : tensor<4xi32>} : () -> tensor<4xi32>
      %0 = "tf.Cast"(%arg0) {Truncate = false, device = ""} : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xbf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

      %input_scale = "tf.Const"() { value = dense<0.588> : tensor<f32> } : () -> tensor<f32>
      %input_zp = "tf.Const"() { value = dense<42> : tensor<i32> } : () -> tensor<i32>
      %filter_scale = "tf.Const"() { value = dense<0.0235> : tensor<f32> } : () -> tensor<f32>
      %filter_zp = "tf.Const"() { value = dense<0> : tensor<i32> } : () -> tensor<i32>
      %accum_scale = "tf.Const"() { value = dense<0.013818> : tensor<f32> } : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  9. src/internal/fuzz/encoding_test.go

    			}
    		})
    	}
    }
    
    // BenchmarkMarshalCorpusFile measures the time it takes to serialize byte
    // slices of various sizes to a corpus file. The slice contains a repeating
    // sequence of bytes 0-255 to mix escaped and non-escaped characters.
    func BenchmarkMarshalCorpusFile(b *testing.B) {
    	buf := make([]byte, 1024*1024)
    	for i := 0; i < len(buf); i++ {
    		buf[i] = byte(i)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/defer_activation_transpose.mlir

    }
    // CHECK-SAME: (%[[ARG_0:.+]]: tensor<1x3x3x4xf32>) -> tensor<1x4x3x3xf32>
    // CHECK-DAG: %[[CONST_0:.+]] = stablehlo.constant
    // CHECK-DAG: %[[TRANSPOSE_0:.+]] = stablehlo.transpose %[[CONST_0]], dims = [0, 2, 3, 1] : (tensor<1x4x3x3xf32>) -> tensor<1x3x3x4xf32>
    
    // Check that the shape of the add is changed to reflect the deferred transpose.
    // CHECK: %[[ADD_0:.+]] = stablehlo.add %[[ARG_0]], %[[TRANSPOSE_0]] : tensor<1x3x3x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top