- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 145 for pad_end (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
// Calculate paddings. int32_t pad_total = kernel_size - 1; int32_t pad_beg = (pad_total / 2 + 1) / block_size; int32_t pad_end = (pad_total / 2) / block_size; SmallVector<int32_t, 8> values = {0, 0, pad_beg, pad_end, pad_beg, pad_end, 0, 0}; auto paddings = DenseIntElementsAttr::get(padding_type, values); // Update pad_op paddings.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
for (uint64_t i = 0; i < block_rank; ++i) { const int64_t pad_start = paddings_attr.getValues<APInt>()[{i, 0}].getSExtValue(); const int64_t pad_end = paddings_attr.getValues<APInt>()[{i, 1}].getSExtValue(); if (pad_start < 0 || pad_end < 0) { return op.emitOpError() << "requires all values of paddings to be >= 0; " "failed for dimension "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
* with as many copies of {@code padChar} as are necessary to reach that length. For example, * * <ul> * <li>{@code padEnd("4.", 5, '0')} returns {@code "4.000"} * <li>{@code padEnd("2010", 3, '!')} returns {@code "2010"} * </ul> * * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 09 00:49:18 UTC 2021 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
* with as many copies of {@code padChar} as are necessary to reach that length. For example, * * <ul> * <li>{@code padEnd("4.", 5, '0')} returns {@code "4.000"} * <li>{@code padEnd("2010", 3, '!')} returns {@code "2010"} * </ul> * * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Sep 17 20:47:03 UTC 2021 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StringsTest.java
assertSame("", Strings.padEnd("", 0, '-')); assertSame("x", Strings.padEnd("x", 0, '-')); assertSame("x", Strings.padEnd("x", 1, '-')); assertSame("xx", Strings.padEnd("xx", 0, '-')); assertSame("xx", Strings.padEnd("xx", 2, '-')); } public void testPadEnd_somePadding() { assertEquals("-", Strings.padEnd("", 1, '-')); assertEquals("--", Strings.padEnd("", 2, '-'));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/task/ToolchainReportRenderer.java
printAttribute("Detected by", toolchain.location.getSource()); output.println(); } private void printAttribute(String key, String value) { final String paddedKey = Strings.padEnd(key + ":", 20, ' '); getTextOutput().withStyle(Normal).format(" | %s", paddedKey); getTextOutput().withStyle(Description).println(value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 4.3K bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
var pos = 0 val limit = header.length var pairEnd: Int while (pos < limit) { pairEnd = header.delimiterOffset(";,", pos, limit) val equalsSign = header.delimiterOffset('=', pos, pairEnd) val name = header.trimSubstring(pos, equalsSign) if (name.startsWith("$")) { pos = pairEnd + 1 continue } // We have either name=value or just a name.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:10:43 UTC 2024 - 3.8K bytes - Viewed (0) -
src/debug/gosym/symtab.go
// that was removed, so pathend will apply correctly to name and s.Name. pathend := strings.LastIndex(name, "/") if pathend < 0 { pathend = 0 } // Find the first dot after pathend (or from the beginning, if there was // no slash in name). l := strings.Index(name[pathend:], ".") // Find the last dot after pathend (or the beginning). r := strings.LastIndex(name[pathend:], ".") if l == -1 || r == -1 || l == r {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
.typos.toml
"encrypter" = "encrypter" "kms" = "kms" "requestor" = "requestor" [default.extend-identifiers] "HashiCorp" = "HashiCorp" [type.go.extend-identifiers] "bui" = "bui" "dm2nd" = "dm2nd" "ot" = "ot" "ParseND" = "ParseND" "ParseNDStream" = "ParseNDStream" "pn" = "pn" "TestGetPartialObjectMisAligned" = "TestGetPartialObjectMisAligned" "thr" = "thr"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 18 15:15:02 UTC 2024 - 854 bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/task/ShowToolchainsTask.java
output.withStyle(Identifier).println(" + Options"); output.withStyle(Normal).format(" | %s", Strings.padEnd("Auto-detection:", 20, ' ')); output.withStyle(Description).println(detectionEnabled ? "Enabled" : "Disabled"); output.withStyle(Normal).format(" | %s", Strings.padEnd("Auto-download:", 20, ' ')); output.withStyle(Description).println(downloadEnabled ? "Enabled" : "Disabled");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:46 UTC 2024 - 4.6K bytes - Viewed (0)