Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for I16 (0.89 sec)

  1. test/rotate.go

    const prolog = `
    
    package main
    
    import (
    	"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
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  2. src/internal/types/testdata/spec/assignability.go

    func _[
    	Int8 ~int8,
    	Int16 ~int16,
    	Int32 ~int32,
    	Int64 ~int64,
    	Int8_16 ~int8 | ~int16,
    ](
    	i8 Int8,
    	i16 Int16,
    	i32 Int32,
    	i64 Int64,
    	i8_16 Int8_16,
    ) {
    	b = 42
    	b = 42.0
    	// etc.
    
    	i8 = -1 << 7
    	i8 = 1<<7 - 1
    	i16 = -1 << 15
    	i16 = 1<<15 - 1
    	i32 = -1 << 31
    	i32 = 1<<31 - 1
    	i64 = -1 << 63
    	i64 = 1<<63 - 1
    
    	i8_16 = -1 << 7
    	i8_16 = 1<<7 - 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. test/zerodivide.go

    import (
    	"fmt"
    	"math"
    	"runtime"
    	"strings"
    )
    
    type ErrorTest struct {
    	name string
    	fn   func()
    	err  string
    }
    
    var (
    	i, j, k       int   = 0, 0, 1
    	i8, j8, k8    int8  = 0, 0, 1
    	i16, j16, k16 int16 = 0, 0, 1
    	i32, j32, k32 int32 = 0, 0, 1
    	i64, j64, k64 int64 = 0, 0, 1
    
    	bb = []int16{2, 0}
    
    	u, v, w       uint    = 0, 0, 1
    	u8, v8, w8    uint8   = 0, 0, 1
    	u16, v16, w16 uint16  = 0, 0, 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. test/index.go

    	cni64 int64 = -5
    	cni64big int64 = -1<<31
    	cni64bigger int64 = -1<<32
    	cnhuge = -1<<100
    	cnfgood = -2.0
    	cnfbad = -2.1
    )
    
    var j int = 100020
    var i int = 100021
    var i8 int8 = 126
    var i16 int16 = 10025
    var i32 int32 = 100022
    var i64 int64 = 100023
    var i64big int64 = 1<<31
    var i64bigger int64 = 1<<32
    var huge uint64 = 1<<64 - 1
    var fgood float64 = 2.0
    var fbad float64 = 2.1
    
    var nj int = -10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir

      %1 = "tfl.dequantize"(%0) : (tensor<2x1x!quant.uniform<i16:f32, 1.0>>) -> (tensor<2x1xf32>)
      %2 = "tfl.quantize"(%arg1) {qtype = tensor<2x3x!quant.uniform<i16:f32, 1.0>>} : (tensor<2x3xf32>) -> tensor<2x3x!quant.uniform<i16:f32, 1.0>>
      %3 = "tfl.dequantize"(%2) : (tensor<2x3x!quant.uniform<i16:f32, 1.0>>) -> (tensor<2x3xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  6. 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 "
                    "i16 for the storage type of uniform quantized type. Got: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. test/literal.go

    	// int16
    	var i10 int16 = 0
    	var i11 int16 = 1
    	var i12 int16 = -1
    	var i13 int16 = 32767
    	var i14 int16 = -32767
    	var i15 int16 = -32768
    	var i16 int16 = +32767
    	assert(i11 == i10+1, "i11")
    	assert(i12 == -i11, "i12")
    	assert(i13 == -i14, "i13")
    	assert(-(i15+1) == i16, "i15")
    
    	// int32
    	var i20 int32 = 0
    	var i21 int32 = 1
    	var i22 int32 = -1
    	var i23 int32 = 2147483647
    	var i24 int32 = -2147483647
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/post-quantize.mlir

        %cell_input = "tfl.pseudo_qconst"() {qtype = tensor<1x20x!quant.uniform<i16:f32, 0.006:-34>>, value = dense<1> : tensor<1x20xi6>} : () -> tensor<1x20x!quant.uniform<i16:f32, 0.006:-34>>
        %0 = "tfl.unidirectional_sequence_lstm"(%input,
          %cst_11, %cst_11, %cst_11, %cst_11,
          %cst_3, %cst_3, %cst_3, %cst_3,
          %cst_2, %cst_2, %cst_2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir

      // CHECK: value = dense<[1, 2, 3, 4]> : tensor<4xi8>
      %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 4]> : tensor<4xi8> } : () -> tensor<4xi8>
      func.return %0 : tensor<4xi8>
    }
    
    func.func @i16() -> tensor<4xi16> {
      // CHECK-LABEL: @i16
      // CHECK: value = dense<[1, 2, 3, 258]> : tensor<4xi16>
      %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 258]> : tensor<4xi16> } : () -> tensor<4xi16>
      func.return %0 : tensor<4xi16>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/encoding/xml/read_test.go

    <WhitespaceValuesParent>
        <BFalse>   false   </BFalse>
        <BTrue>   true   </BTrue>
        <I>   266703   </I>
        <INeg>   -266703   </INeg>
        <I8>  112  </I8>
        <I8Neg>  -112  </I8Neg>
        <I16>  6703  </I16>
        <I16Neg>  -6703  </I16Neg>
        <I32>  266703  </I32>
        <I32Neg>  -266703  </I32Neg>
        <I64>  266703  </I64>
        <I64Neg>  -266703  </I64Neg>
        <UI>   266703   </UI>
        <UI8>  112  </UI8>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top