Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for UI8 (0.01 sec)

  1. test/bounds.go

    	use(p1[i8])
    	use(p1k[i8])
    	use(p100k[i8])
    
    	// Unsigned 8-bit numbers don't need checks for len >= 2⁸.
    	use(s[ui8])
    	use(a1[ui8])
    	use(a1k[ui8])   // ERROR "index bounds check elided"
    	use(a100k[ui8]) // ERROR "index bounds check elided"
    	use(p1[ui8])
    	use(p1k[ui8])   // ERROR "index bounds check elided"
    	use(p100k[ui8]) // ERROR "index bounds check elided"
    
    	use(s[i16])
    	use(a1[i16])
    	use(a1k[i16])
    	use(a100k[i16])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 27 03:11:45 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir

    module attributes {tf.versions = {producer = 179 : i32}} {
      func.func @main(%arg0: tensor<f32>) -> tensor<f32> {
        %0 = "stablehlo.uniform_quantize"(%arg0) : (tensor<f32>) -> tensor<!quant.uniform<ui8:f32, 34.0:16>>
        %1 = "stablehlo.uniform_dequantize"(%0) : (tensor<!quant.uniform<ui8:f32, 34.0:16>>) -> tensor<f32>
        func.return %1 : tensor<f32>
      }
    }
    
    // CHECK-LABEL: HloModule main
    // CHECK:       ENTRY %main.{{[0-9]+}} ([[ARG0:.*]]: f32[]) -> (f32[]) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 16:28:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. test/rotate.go

    	"fmt"
    	"os"
    )
    
    var (
    	i8 int8 = 0x12
    	i16 int16 = 0x1234
    	i32 int32 = 0x12345678
    	i64 int64 = 0x123456789abcdef0
    	ui8 uint8 = 0x12
    	ui16 uint16 = 0x1234
    	ui32 uint32 = 0x12345678
    	ui64 uint64 = 0x123456789abcdef0
    
    	ni8 = ^i8
    	ni16 = ^i16
    	ni32 = ^i32
    	ni64 = ^i64
    	nui8 = ^ui8
    	nui16 = ^ui16
    	nui32 = ^ui32
    	nui64 = ^ui64
    )
    
    var nfail = 0
    
    func main() {
    	if nfail > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc

    // `tfl.quantize` or `tfl.dequantize` ops. ui8, i8 and i16 are supported.
    bool IsSupportedByTfliteQuantizeOrDequantizeOps(IntegerType storage_type) {
      if (storage_type.getWidth() == 8 ||
          (storage_type.isSigned() && storage_type.getWidth() == 16)) {
        return true;
      }
      LLVM_DEBUG(llvm::dbgs()
                 << "Uniform quantize / dequantize op only supports ui8, i8 or "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h

    bool IsI32F32UniformQuantizedPerAxisType(Type type);
    
    // Determines whether the storage type of a quantized type is supported by
    // `tfl.quantize` or `tfl.dequantize` ops. ui8, i8 and i16 are supported.
    bool IsSupportedByTfliteQuantizeOrDequantizeOps(IntegerType storage_type);
    
    // Returns true if a type is quantized tensor type.
    bool IsQuantizedTensorType(Type type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/const0.go

    	// integer values
    	ui0 = 0
    	ui1 = 1
    	ui2 = 42
    	ui3 = 3141592653589793238462643383279502884197169399375105820974944592307816406286
    	ui4 = -10
    
    	ui5 = ui0 + ui1
    	ui6 = ui1 - ui1
    	ui7 = ui2 * ui1
    	ui8 = ui3 / ui3
    	ui9 = ui3 % ui3
    
    	ui10 = 1 / 0 /* ERROR "division by zero" */
    	ui11 = ui1 / 0 /* ERROR "division by zero" */
    	ui12 = ui3 / ui0 /* ERROR "division by zero" */
    	ui13 = 1 % 0 /* ERROR "division by zero" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top