- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,255 for iterations (0.51 sec)
-
src/internal/trace/testdata/testprog/cpu-profile.go
} } func cpuHogger(f func(x int) int, y *int, dur time.Duration) { // We only need to get one 100 Hz clock tick, so we've got // a large safety buffer. // But do at least 500 iterations (which should take about 100ms), // otherwise TestCPUProfileMultithreaded can fail if only one // thread is scheduled during the testing period. t0 := time.Now() accum := *y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_test.go
} } } func TestBitwiseContended8(t *testing.T) { // Start with every bit in array set to 0. a := make([]uint8, 16) // Iterations to try. N := 1 << 16 if testing.Short() { N = 1 << 10 } // Set and then clear every bit in the array bit-by-bit in different goroutines. done := make(chan bool) for i := 0; i < 8; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.5K bytes - Viewed (0) -
src/go/types/termlist.go
// one iteration. for _, x := range xl { if x != nil { return false } } return true } // isAll reports whether the termlist xl represents the set of all types. func (xl termlist) isAll() bool { // If there's a 𝓤 term, the entire list is 𝓤. // If the termlist is in normal form, this requires at most // one iteration. for _, x := range xl {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td
let summary = "Asynchronously execution of while op for tf_mlrt"; let description = [{ cond: The boolean to control whether the first iteration should be executed. arguments: The last $invariant_size elements are invariants between iterations. results: a list of futures. body_fn: input is [predicate_promise, arg0_future, arg0_promise, arg1_future, arg1_promise, ..., invariant_args] and has no returned results.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/aot/benchmark.cc
max_us = g.second; } } int max_digits = 1; while (max_us >= 10.0) { max_us /= 10.0; ++max_digits; } // Dump stats out. printf("Benchmark ran %zu iterations over %lld us\n", count_us, static_cast<long long>(stats.total_us)); // NOLINT for (const auto& g : groups) { printf(" %-*s %*.3f us\n", max_label_size, g.first.c_str(), max_digits + 4, g.second);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 19:45:29 UTC 2023 - 4.5K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_arm64.s
VMOV V4.B16, V20.B16 VMOV V5.B16, V21.B16 VMOV V6.B16, V22.B16 VMOV V7.B16, V23.B16 VMOV V8.B16, V24.B16 VMOV V9.B16, V25.B16 VMOV V10.B16, V26.B16 VMOV V11.B16, V27.B16 // 4 iterations. Each iteration is 8 quarter-rounds. MOVD $4, R0 loop: QR(V0, V4, V8, V12) QR(V1, V5, V9, V13) QR(V2, V6, V10, V14) QR(V3, V7, V11, V15) QR(V0, V5, V10, V15) QR(V1, V6, V11, V12) QR(V2, V7, V8, V13)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 3.2K bytes - Viewed (0) -
test/maplinear.go
package main import ( "fmt" "math" "time" ) // checkLinear asserts that the running time of f(n) is in O(n). // tries is the initial number of iterations. func checkLinear(typ string, tries int, f func(n int)) { // Depending on the machine and OS, this test might be too fast // to measure with accurate enough granularity. On failure,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc
OpPassManager pass_manager; llvm::StringRef device_type = "XLA_CPU_JIT"; absl::string_view kInlinePass = "inline{default-pipeline=canonicalize " "inlining-threshold=4294967295 max-iterations=4 }"; CreateConvertMlirToXlaHloPipeline(pass_manager, device_type, /*enable_op_fallback=*/true, /*custom_legalization_passes*/ {});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 19:54:38 UTC 2024 - 9.7K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_amd64.s
// The initial temporary is X15, so zero its memory instead // of X15 itself. MOVL $0, DX MOVQ DX, X13 MOVQ DX, X14 MOVOU X14, (15*16)(BX) // 4 iterations. Each iteration is 8 quarter-rounds. MOVL $4, DX loop: QR(X0, X4, X8, X12, X15) MOVOU X4, (4*16)(BX) // save X4 QR(X1, X5, X9, X13, X15) MOVOU (15*16)(BX), X15 // reload X15; temp now X4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 4.6K bytes - Viewed (0) -
tensorflow/cc/framework/while_gradients.cc
string BackPropFrameName(const string& forward_frame_name) { return strings::StrCat(forward_frame_name, "_backprop"); } // Creates a loop that counts the number of iterations performed by the // while loop associated with `while_ctx`. The returned output yields the // iteration count. Status AddForwardLoopCounter(WhileContext* while_ctx, const Scope& scope, Output* count) { // Create while loop: // i = 0
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 8.1K bytes - Viewed (0)