- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for Converge (0.15 sec)
-
pkg/test/util/retry/retry.go
cfg.delayMax = delay * 16 } } // Converge sets the number of successes in a row needed to count a success. // This is useful to avoid the case where tests like `coin.Flip() == HEADS` will always // return success due to random variance. func Converge(successes int) Option { return func(cfg *config) { cfg.converge = successes } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/test/util/retry/retry_test.go
package retry import ( "fmt" "testing" "time" ) func TestConverge(t *testing.T) { t.Run("no converge", func(t *testing.T) { flipFlop := true err := UntilSuccess(func() error { flipFlop = !flipFlop if flipFlop { return fmt.Errorf("flipFlop was true") } return nil }, Converge(2), Timeout(time.Millisecond*10), Delay(time.Millisecond)) if err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
namespace mlir { namespace TFDevice { namespace { constexpr char kBadDecompositionMessage[] = "Resource ops decomposition did not converge"; // Decomposing resource ops should not take more than a few iterations (2-3) to // converge as only a few patterns create new resource ops that can be further // decomposed. The rest of the iterations are enough to clean up any dead ops // created by decomposition.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0) -
manifests/addons/dashboards/ztunnel.libsonnet
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.cc
populateWithGenerated(patterns); FrozenRewritePatternSet frozen_patterns(std::move(patterns)); if (failed(applyPatternsAndFoldGreedily(func_op, frozen_patterns))) { func_op.emitWarning() << "Failed to converge " << RemoveShardingCustomCallPass::getArgumentName(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 07:04:47 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/flags.go
// DefaultCallRetryOptions returns the default call retry options as specified in command-line flags. func DefaultCallRetryOptions() []retry.Option { return []retry.Option{retry.Timeout(callTimeout), retry.BackoffDelay(callDelay), retry.Converge(callConverge)} } // DefaultReadinessTimeout returns the default echo readiness check timeout. func DefaultReadinessTimeout() time.Duration { return readinessTimeout }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 13 17:44:00 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt
# missing package, only to remove that package when resolving its dependencies. # # If we naively iterate 'go mod tidy' until the dependency graph converges, this # scenario may fail to converge. # The import graph used in this test looks like: # # m --- w # | # + --- x # | # + --- y # | # + --- z #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 9.2K bytes - Viewed (0) -
manifests/addons/dashboards/pilot.libsonnet
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/integration/security/util/reachability/context.go
opts.To = to if len(toClusters) == 1 { opts.Count = 1 } // TODO(https://github.com/istio/istio/issues/37629) go back to converge opts.Retry.Options = []retry.Option{retry.Converge(1)} // TODO(https://github.com/istio/istio/issues/37629) go back to 5s opts.Timeout = time.Second * 10 expectSuccess := c.ExpectSuccess(from, opts)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 23 21:20:43 UTC 2022 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize.cc
// There are cases where no rewrites happen even if a pattern matches, // causing this to result in a convergence failure. Consider this as a // best-effort. module_op.emitWarning("Failed to converge pattern at QuantizePass."); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 07:08:19 UTC 2024 - 5K bytes - Viewed (0)