Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for quint8 (0.18 sec)

  1. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

                                                                 DataType type) {
      // Only qint8 and quint8 are considered here.
      double qmin, qmax;
      if (type == DT_QUINT8) {
        qmin = 0.0;
        qmax = 255.0;
      } else if (type == DT_QINT8) {
        qmin = -128.0;
        qmax = 127.0;
      } else {
        return absl::InvalidArgumentError("Only int8 and uint8 are considered.");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

        %check = "tf.Equal"(%arg1, %one) : (tensor<i32>, tensor<i32>) -> tensor<i1>
        "tf.Yield"(%check) : (tensor<i1>) -> ()
        }, {
      ^bb0(%barg0: tensor<2x?x!tf_type.qint8>, %barg1: tensor<?x2x!tf_type.qint8>):
        %id = "tf.Identity"(%barg0) : (tensor<2x?x!tf_type.qint8>) -> tensor<2x?x!tf_type.qint8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  3. src/cmd/internal/goobj/objfile.go

    //
    //	RefFlags struct {
    //	   Sym   symRef
    //	   Flag  uint8
    //	   Flag2 uint8
    //	}
    type RefFlags [RefFlagsSize]byte
    
    const RefFlagsSize = 8 + 1 + 1
    
    func (r *RefFlags) Sym() SymRef {
    	return SymRef{binary.LittleEndian.Uint32(r[:]), binary.LittleEndian.Uint32(r[4:])}
    }
    func (r *RefFlags) Flag() uint8  { return r[8] }
    func (r *RefFlags) Flag2() uint8 { return r[9] }
    
    func (r *RefFlags) SetSym(x SymRef) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. test/codegen/shift.go

    	_ = y[128]
    	_ = z[128]
    	// ppc64x: -"MOVBZ", -"SRW", "RLWNM"
    	z[0] = uint32(uint8(a >> 5))
    	// ppc64x: -"MOVBZ", -"SRW", "RLWNM"
    	z[1] = uint32(uint8((a >> 4) & 0x7e))
    	// ppc64x: "RLWNM\t[$]25, R[0-9]+, [$]27, [$]29, R[0-9]+"
    	z[2] = uint32(uint8(a>>7)) & 0x1c
    	// ppc64x: -"MOVWZ"
    	y[0] = uint64((a >> 6) & 0x1c)
    	// ppc64x: -"MOVWZ"
    	y[1] = uint64(uint32(b)<<6) + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/encoding/binary/binary.go

    		e.bool(v.Bool())
    
    	case reflect.Int8:
    		e.int8(int8(v.Int()))
    	case reflect.Int16:
    		e.int16(int16(v.Int()))
    	case reflect.Int32:
    		e.int32(int32(v.Int()))
    	case reflect.Int64:
    		e.int64(v.Int())
    
    	case reflect.Uint8:
    		e.uint8(uint8(v.Uint()))
    	case reflect.Uint16:
    		e.uint16(uint16(v.Uint()))
    	case reflect.Uint32:
    		e.uint32(uint32(v.Uint()))
    	case reflect.Uint64:
    		e.uint64(v.Uint())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/encoding/binary/binary_test.go

    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    type Struct struct {
    	Int8       int8
    	Int16      int16
    	Int32      int32
    	Int64      int64
    	Uint8      uint8
    	Uint16     uint16
    	Uint32     uint32
    	Uint64     uint64
    	Float32    float32
    	Float64    float64
    	Complex64  complex64
    	Complex128 complex128
    	Array      [4]uint8
    	Bool       bool
    	BoolArray  [4]bool
    }
    
    type T struct {
    	Int     int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. src/image/gif/writer.go

    		if rgba, ok := c.(color.RGBA); ok {
    			r, g, b = rgba.R, rgba.G, rgba.B
    		} else {
    			rr, gg, bb, _ := c.RGBA()
    			r, g, b = uint8(rr>>8), uint8(gg>>8), uint8(bb>>8)
    		}
    		dst[3*i+0] = r
    		dst[3*i+1] = g
    		dst[3*i+2] = b
    	}
    	n := log2Lookup[size]
    	if n > len(p) {
    		// Pad with black.
    		clear(dst[3*len(p) : 3*n])
    	}
    	return 3 * n, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func libfuzzerTraceCmp1(uint8, uint8, uint)
    func libfuzzerTraceCmp2(uint16, uint16, uint)
    func libfuzzerTraceCmp4(uint32, uint32, uint)
    func libfuzzerTraceCmp8(uint64, uint64, uint)
    func libfuzzerTraceConstCmp1(uint8, uint8, uint)
    func libfuzzerTraceConstCmp2(uint16, uint16, uint)
    func libfuzzerTraceConstCmp4(uint32, uint32, uint)
    func libfuzzerTraceConstCmp8(uint64, uint64, uint)
    func libfuzzerHookStrCmp(string, string, uint)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/net_test.go

    		Namespace: "bar",
    		UID:       "123",
    	}
    	podIP := netip.MustParseAddr("99.9.9.9")
    	podIPs := []netip.Addr{podIP}
    
    	fixture.ipsetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("99.9.9.9"),
    		uint8(unix.IPPROTO_TCP),
    		string(podMeta.UID),
    		false,
    	).Return(nil)
    
    	err := netServer.AddPodToMesh(ctx, &corev1.Pod{ObjectMeta: podMeta}, podIPs, "fakenetns")
    	assert.NoError(t, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_darwin.go

    var dupTrampoline = abi.FuncPCABI0(libc_dup2_trampoline)
    
    type SockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [12]int8
    	raw    RawSockaddrDatalink
    }
    
    // Translate "kern.hostname" to []_C_int{0,1,2,3}.
    func nametomib(name string) (mib []_C_int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top