Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for UI8 (4.47 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. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let arguments = (ins
         TFL_TensorOf<[I8, I16, I32, I64, UI8, UI16, UI32, UI64, F32, F64]>:$input,
         TFL_TensorOf<[I32]>:$dilations,
         TFL_0DTensorOf<[I8, I16, I32, I64, UI8, UI16, UI32, UI64, F32, F64]>:$padding_value
      );
    
      let results = (outs TFL_TensorOf<[I8, I16, I32, I64, UI8, UI16, UI32, UI64, F32, F64]>:$output);
    }
    
    def TFL_AddOp : TFL_Op<"add", [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/encoding/xml/read_test.go

        <I16>  6703  </I16>
        <I16Neg>  -6703  </I16Neg>
        <I32>  266703  </I32>
        <I32Neg>  -266703  </I32Neg>
        <I64>  266703  </I64>
        <I64Neg>  -266703  </I64Neg>
        <UI>   266703   </UI>
        <UI8>  112  </UI8>
        <UI16>  6703  </UI16>
        <UI32>  266703  </UI32>
        <UI64>  266703  </UI64>
        <F32>  266.703  </F32>
        <F32Neg>  -266.703  </F32Neg>
        <F64>  266.703  </F64>
        <F64Neg>  -266.703  </F64Neg>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

        return true;
    
      // Complex<F<32>> is allowed.
      if (mlir::isa<ComplexType>(elemType) &&
          mlir::cast<ComplexType>(elemType).getElementType().isF32())
        return true;
    
      // QUINT8 and UI8 are allowed.
      if (mlir::isa<TF::Quint8Type>(elemType) ||
          (elemType.isInteger(8) && mlir::cast<IntegerType>(elemType).isUnsigned()))
        return true;
    
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

          {"F32", "32-bit float"},
          {"I32", "32-bit signless integer"},
          {"I64", "64-bit signless integer"},
          {"QI16", "QI16 type"},
          {"I8", "8-bit signless integer"},
          {"UI8", "8-bit unsigned integer"},
          {"QI8", "QI8 type"},
          {"QUI8", "QUI8 type"},
          {"TFL_Quint8", "TFLite quint8 type"},
      });
    
      return *entries;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top