- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for stride_h (0.15 sec)
-
tensorflow/c/eager/dlpack_test.cc
dltensor_in->dtype = {kDLFloat, 32, 1}; dltensor_in->shape = shape.data(); dltensor_in->strides = strides.data(); TFE_TensorHandle* handle = TFE_HandleFromDLPack(&dlm_in, status, ctx); ASSERT_NE(handle, nullptr) << TF_Message(status) << " (shape=[" << absl::StrJoin(shape, ",") << "], strides=[" << absl::StrJoin(strides, ",") << "])"; auto* dlm_out =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Jun 30 03:04:46 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
// 1) nullptr indicates tensor is compact and row-majored. // 2) fill in the strides array as the real case for compact row-major data. // Here we choose option 2, since some frameworks didn't handle the strides // argument properly. dlm_tensor->dl_tensor.strides = stride_arr->data(); dlm_tensor->dl_tensor.byte_offset = 0; // TF doesn't handle the strides and byte_offsets here return static_cast<void*>(dlm_tensor); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} else { return next >>> 1; } } public void testCrc32cStrideTable() { int next = CRC32C_GENERATOR_FLIPPED; for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[next & 0xFF]; } int[][] expected = new int[4][256]; for (int b = 0; b < 4; ++b) { for (int bit = 128; bit != 0; bit >>= 1) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0) -
src/bufio/bufio_test.go
} return } func testReadLine(t *testing.T, input []byte) { for stride := 1; stride < 2; stride++ { done := 0 reader := testReader{input, stride} l := NewReaderSize(&reader, len(input)+1) for { line, isPrefix, err := l.ReadLine() if len(line) > 0 && err != nil { t.Errorf("ReadLine returned both data and error: %s", err) } if isPrefix { t.Errorf("ReadLine returned prefix")
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
// Less than 16,834 bytes, because we binary search on a 14-bit index. assertThat(compactTable.sections.length).isLessThan(1 shl 14) // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes. assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4) // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} else { return next >>> 1; } } public void testCrc32cStrideTable() { int next = CRC32C_GENERATOR_FLIPPED; for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[next & 0xFF]; } int[][] expected = new int[4][256]; for (int b = 0; b < 4; ++b) { for (int bit = 128; bit != 0; bit >>= 1) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TF_DeleteTensor(tensor); TFE_DeleteTensorHandle(tensor_handle); std::vector<int64_t> values(4, 1); TFE_OpSetAttrIntList(op, "ksize", values.data(), values.size()); TFE_OpSetAttrIntList(op, "strides", values.data(), values.size()); const int BUFFER_SIZE = 10; char buffer[BUFFER_SIZE]; std::strncpy(buffer, "VALID", BUFFER_SIZE); TFE_OpSetAttrString(op, "padding", buffer, std::strlen(buffer));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
src/bytes/bytes_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
api/go1.5.txt
pkg image, method (Rectangle) ColorModel() color.Model pkg image, type CMYK struct pkg image, type CMYK struct, Pix []uint8 pkg image, type CMYK struct, Rect Rectangle pkg image, type CMYK struct, Stride int pkg image/color, func CMYKToRGB(uint8, uint8, uint8, uint8) (uint8, uint8, uint8) pkg image/color, func RGBToCMYK(uint8, uint8, uint8) (uint8, uint8, uint8, uint8)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
api/go1.txt
pkg image, type Alpha struct, Pix []uint8 pkg image, type Alpha struct, Rect Rectangle pkg image, type Alpha struct, Stride int pkg image, type Alpha16 struct pkg image, type Alpha16 struct, Pix []uint8 pkg image, type Alpha16 struct, Rect Rectangle pkg image, type Alpha16 struct, Stride int pkg image, type Config struct pkg image, type Config struct, ColorModel color.Model pkg image, type Config struct, Height int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)