Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for u8 (0.03 sec)

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

      %1 = "tfl.quantize"(%arg1) {qtype = tensor<2x1x!quant.uniform<u8:f32, 1.0:128>>}: (tensor<2x1xf32>) -> tensor<2x1x!quant.uniform<u8:f32, 1.0:128>>
      %2 = "tfl.dequantize"(%0) : (tensor<2x2x!quant.uniform<u8:f32, 1.0:128>>) -> tensor<2x2xf32>
      %3 = "tfl.dequantize"(%1) : (tensor<2x1x!quant.uniform<u8:f32, 1.0:128>>) -> tensor<2x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. test/codegen/noextend.go

    // no signed byte load.
    
    func set16(x8 int8, u8 *uint8, y8 int8, z8 uint8) {
    	// Truncate not needed, load does sign/zero extend
    
    	// ppc64x:-"MOVBZ\tR\\d+,\\sR\\d+"
    	val16[0] = uint16(*u8)
    
    	// AND not needed due to size
    	// ppc64x:-"ANDCC"
    	sval16[1] = 255 & int16(x8+y8)
    
    	// ppc64x:-"ANDCC"
    	val16[1] = 255 & uint16(*u8+z8)
    
    }
    func shiftidx(u8 *uint8, x16 *int16, u16 *uint16) {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/quantization.mlir

      %cst = "tfl.pseudo_qconst"() {qtype = tensor<1x2x!quant.uniform<u8:f32, 1.0>>, value = dense<-76> : tensor<1x2xi8>} : () -> tensor<1x2x!quant.uniform<u8:f32, 1.0>>
      %2 = "tfl.concatenation"(%1, %cst) {axis = 0 : i32, fused_activation_function = "NONE"} : (tensor<1x2x!quant.uniform<u8:f32, 1.0>>, tensor<1x2x!quant.uniform<u8:f32, 1.0>>) -> tensor<2x2x!quant.uniform<u8:f32, 1.0>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/quant_stats.pbtxt

    # MLIR-NEXT:    return %[[add]] : tensor<4x!quant.uniform<u8:f32, 0.0078431372549019607:128>>
    # MLIR-NEXT:  }
    
    # CHECK-LABEL: {
    # CHECK-NEXT:  version: 3,
    # CHECK-NEXT:  operator_codes: [ {
    # CHECK-NEXT:    version: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/spec/range_int.go

    	for _ = range 256 {
    	}
    	for i = range 256 {
    	}
    	for i := range 256 {
    		_ = i
    	}
    
    	var u8 uint8
    	_ = u8
    	for u8 = range - /* ERROR "cannot use -1 (untyped int constant) as uint8 value in range clause (overflows)" */ 1 {
    	}
    	for u8 = range 0 {
    	}
    	for u8 = range 255 {
    	}
    	for u8 = range 256 /* ERROR "cannot use 256 (untyped int constant) as uint8 value in range clause (overflows)" */ {
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir

    // CHECK:         %[[CLAMP:.*]] = f32[] clamp(f32[] %[[MIN:.*]], f32[] %[[ADD]],
    // CHECK:         %[[ROUND:.*]] = f32[] round-nearest-even(f32[] %[[CLAMP]])
    // CHECK:         %[[CONVERT_0:.*]] = u8[] convert(f32[] %[[ROUND]])
    // CHECK:         %[[CONVERT_1:.*]] = s32[] convert(u8[] %[[CONVERT_0]])
    // CHECK:         %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]],
    // CHECK:         %[[CONVERT_2:.*]] = f32[] convert(s32[] %[[SUB]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 16:28:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/internal/types/testdata/fixedbugs/issue6977.go

    type U3 interface { M; m() }
    type U4 interface { M; M; M }
    type U5 interface { U1; U2; U3; U4 }
    
    type U6 interface { m(); m /* ERROR "duplicate method" */ () }
    type U7 interface { M32 /* ERROR "duplicate method" */ ; m() }
    type U8 interface { m(); M32 /* ERROR "duplicate method" */ }
    type U9 interface { M32; M64 /* ERROR "duplicate method" */ }
    
    // Verify that repeated embedding of the same interface(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:04:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/expr0.go

    	// uint
    	u0 = uint(1)
    	u1 uint = u0
    	u2 = +1
    	u3 = +u0
    	u4 uint = +1
    	u5 uint = +u4
    	u6 = -1
    	u7 = -u0
    	u8 uint = - /* ERROR "overflows" */ 1
    	u9 uint = -u4
    	u10 = !u0 /* ERROR "not defined" */
    	u11 = ^1
    	u12 = ^i0
    	u13 uint = ^ /* ERROR "overflows" */ 1
    	u14 uint = ^u4
    	u15 = *u0 /* ERROR "cannot indirect" */
    	u16 = &u0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top