- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for data_gen (0.14 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py
shape=[10], dtype=dtypes.float32, name='y' ), ] ) def add(self, x, y): res = math_ops.add(x, y) return {'output': res} def data_gen(): for _ in range(255): yield { 'x': ops.convert_to_tensor( np.random.uniform(size=(10)).astype('f4') ), 'y': ops.convert_to_tensor(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 11 00:47:05 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
// structure, taking into account any necessary alignment. func CmsgLen(datalen int) int { return cmsgAlignOf(SizeofCmsghdr) + datalen } // CmsgSpace returns the number of bytes an ancillary element with // payload of the passed data length occupies. func CmsgSpace(datalen int) int { return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen) } func (h *Cmsghdr) data(offset uintptr) unsafe.Pointer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 3.1K bytes - Viewed (0) -
src/internal/zstd/window.go
func (w *window) appendTo(buf []byte, from, to uint32) []byte { dataLen := uint32(len(w.data)) from += uint32(w.off) to += uint32(w.off) wrap := false if from > dataLen { from -= dataLen wrap = !wrap } if to > dataLen { to -= dataLen wrap = !wrap } if wrap { buf = append(buf, w.data[from:]...) return append(buf, w.data[:to]...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 13:49:23 UTC 2024 - 2K bytes - Viewed (0) -
src/syscall/sockcmsg_unix.go
// structure, taking into account any necessary alignment. func CmsgLen(datalen int) int { return cmsgAlignOf(SizeofCmsghdr) + datalen } // CmsgSpace returns the number of bytes an ancillary element with // payload of the passed data length occupies. func CmsgSpace(datalen int) int { return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen) } func (h *Cmsghdr) data(offset uintptr) unsafe.Pointer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 2.5K bytes - Viewed (0) -
src/crypto/cipher/fuzz_test.go
if testing.Short() { timeout = time.NewTimer(10 * time.Millisecond) } else { timeout = time.NewTimer(2 * time.Second) } indata := make([]byte, datalen) outgeneric := make([]byte, datalen) outdata := make([]byte, datalen) fuzzencrypt: for { select { case <-timeout.C: break fuzzencrypt default: } rand.Read(indata[:]) cbcGeneric.CryptBlocks(indata, outgeneric)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 03 13:39:12 UTC 2022 - 2K bytes - Viewed (0) -
src/image/png/writer_test.go
testCases := []struct { plen int bitdepth uint8 datalen int }{ { plen: 256, bitdepth: 8, datalen: (1 + width) * height, }, { plen: 128, bitdepth: 8, datalen: (1 + width) * height, }, { plen: 16, bitdepth: 4, datalen: (1 + width/2) * height, }, { plen: 4, bitdepth: 2,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 14 08:14:05 UTC 2022 - 8.9K bytes - Viewed (0) -
src/syscall/creds_test.go
} if flags != syscall.MSG_CMSG_CLOEXEC { t.Fatalf("ReadMsgUnix flags = %#x, want %#x (MSG_CMSG_CLOEXEC)", flags, syscall.MSG_CMSG_CLOEXEC) } if n != tt.dataLen { t.Fatalf("ReadMsgUnix n = %d, want %d", n, tt.dataLen) } if oobn2 != oobn { // without SO_PASSCRED set on the socket, ReadMsgUnix will // return zero oob bytes t.Fatalf("ReadMsgUnix oobn = %d, want %d", oobn2, oobn) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 02:43:05 UTC 2022 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.5K bytes - Viewed (0) -
src/syscall/ztypes_freebsd_arm.go
Data IfData } type ifData struct { Type uint8 Physical uint8 Addrlen uint8 Hdrlen uint8 Link_state uint8 Vhid uint8 Baudrate_pf uint8 Datalen uint8 Mtu uint32 Metric uint32 Baudrate uint32 Ipackets uint32 Ierrors uint32 Opackets uint32 Oerrors uint32 Collisions uint32 Ibytes uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 8K bytes - Viewed (0) -
src/syscall/ztypes_freebsd_arm64.go
Data IfData } type ifData struct { Type uint8 Physical uint8 Addrlen uint8 Hdrlen uint8 Link_state uint8 Vhid uint8 Baudrate_pf uint8 Datalen uint8 Mtu uint64 Metric uint64 Baudrate uint64 Ipackets uint64 Ierrors uint64 Opackets uint64 Oerrors uint64 Collisions uint64 Ibytes uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 8K bytes - Viewed (0)