Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,787 for uint4 (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

          {1, -1}, DT_INT64, mlir::IntegerType::get(&context, 64)));
    
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<uint4>(
          {static_cast<uint4>(1), static_cast<uint4>(2)}, DT_UINT4,
          mlir::IntegerType::get(
              &context, 4, mlir::IntegerType::SignednessSemantics::Unsigned)));
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<uint8>(
          {1, 2}, DT_UINT8,
          mlir::IntegerType::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

          break;
        case tensorflow::DT_INT4:
          ConvertIntElementsAttr<int, tsl::int4>(dense_attr,
                                                 output->mutable_int_val(),
                                                 output->mutable_tensor_content());
          break;
        case tensorflow::DT_UINT4:
          ConvertUIntElementsAttr<int, tsl::uint4>(
              dense_attr, output->mutable_int_val(),
              output->mutable_tensor_content());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. api/go1.22.txt

    pkg encoding/base32, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/base32, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg encoding/base64, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    pkg encoding/base64, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg encoding/hex, func AppendDecode([]uint8, []uint8) ([]uint8, error) #53693
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/debug/dwarf/buf.go

    	return b.order.Uint32(a)
    }
    
    func (b *buf) uint64() uint64 {
    	a := b.bytes(8)
    	if a == nil {
    		return 0
    	}
    	return b.order.Uint64(a)
    }
    
    // Read a varint, which is 7 bits per byte, little endian.
    // the 0x80 bit means read another byte.
    func (b *buf) varint() (c uint64, bits uint) {
    	for i := 0; i < len(b.data); i++ {
    		byte := b.data[i]
    		c |= uint64(byte&0x7F) << bits
    		bits += 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    	if n <= 0 {
    		panic("invalid argument to IntN")
    	}
    	return int(r.uint64n(uint64(n)))
    }
    
    // UintN returns, as a uint, a non-negative pseudo-random number in the half-open interval [0,n).
    // It panics if n == 0.
    func (r *Rand) UintN(n uint) uint {
    	if n == 0 {
    		panic("invalid argument to UintN")
    	}
    	return uint(r.uint64n(uint64(n)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/math/rand/v2/regress_test.go

    	uint64(12210202232702069999), // Uint()
    	uint64(8204908297817606218),  // Uint()
    	uint64(17358349022401942459), // Uint()
    	uint64(2240328155279531677),  // Uint()
    	uint64(7311121042813227358),  // Uint()
    	uint64(14454429957748299131), // Uint()
    	uint64(13481244625344276711), // Uint()
    	uint64(9381769212557126946),  // Uint()
    	uint64(1350674201389090105),  // Uint()
    	uint64(6093522341581845358),  // Uint()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. src/debug/dwarf/entry.go

    		case formAddrx, formAddrx1, formAddrx2, formAddrx3, formAddrx4:
    			var off uint64
    			switch fmt {
    			case formAddrx:
    				off = b.uint()
    			case formAddrx1:
    				off = uint64(b.uint8())
    			case formAddrx2:
    				off = uint64(b.uint16())
    			case formAddrx3:
    				off = uint64(b.uint24())
    			case formAddrx4:
    				off = uint64(b.uint32())
    			}
    			if b.dwarf.addr == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
  8. test/divmod.go

    	if (uint64(uint16(x)) == x || uint64(uint16(^x)) == ^x) && (uint64(uint16(y)) == y || uint64(uint16(^y)) == ^y) {
    		checkuint16(uint16(x), uint16(y))
    	}
    	if (uint64(uint8(x)) == x || uint64(uint8(^x)) == ^x) && (uint64(uint8(y)) == y || uint64(uint8(^y)) == ^y) {
    		checkuint8(uint8(x), uint8(y))
    	}
    	
    	
    	sx := int64(x)
    	sy := int64(y)
    	checkint64(sx, sy)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 9.3K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/const1.go

    )
    
    const (
    	_ uint8 = 0 /* ERROR "overflows" */ - 1
    	_ uint8 = 0
    	_ uint8 = maxUint8
    	_ uint8 = maxUint8 /* ERROR "overflows" */ + 1
    	_ uint8 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = uint8(0 /* ERROR "overflows" */ - 1)
    	_ = uint8(0)
    	_ = uint8(maxUint8)
    	_ = uint8(maxUint8 /* ERROR "overflows" */ + 1)
    	_ = uint8(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/debug/dwarf/line.go

    			if dwarf64 {
    				r.buf.uint64()
    			} else {
    				r.buf.uint32()
    			}
    		case formStrx:
    			// .debug_line.dwo sections not yet supported.
    			r.buf.uint()
    		case formStrx1:
    			r.buf.uint8()
    		case formStrx2:
    			r.buf.uint16()
    		case formStrx3:
    			r.buf.uint24()
    		case formStrx4:
    			r.buf.uint32()
    		case formData1:
    			val = uint64(r.buf.uint8())
    		case formData2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
Back to top