- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for computations (0.31 sec)
-
pkg/lazy/lazy_test.go
"istio.io/istio/pkg/slices" "istio.io/istio/pkg/test/util/assert" ) func TestLazySerial(t *testing.T) { t.Run("retry", func(t *testing.T) { computations := atomic.NewInt32(0) l := NewWithRetry(func() (int32, error) { res := computations.Inc() if res > 2 { return res, nil } return res, fmt.Errorf("not yet") }) res, err := l.Get() assert.Error(t, err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 17:36:41 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_base_device.h
// a) argument and return value, for entry computations b) variables, for // all computations, should be represented in XLA. Parameters/return values // will be shaped according to the function pair, and reshaped back to/from // their declared shapes for computations. Must be non-empty. std::vector<XlaShapeLayoutHelpers::ShapeDeterminationFns> shape_determination_fns;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_xla_computations_pass.h
// Rewrites computations generated by the xla.compile() Python code into // XlaLaunch nodes. // // xla.compile() does two main things: // a) marks operators that make up an XLA computation with the attribute // _xla_compile_id=XYZ, where XYZ is a unique key. // b) adds XlaClusterOutput nodes to represent outputs of the computation. // These nodes are not marked with the _xla_compile_id attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/ManualEvictionInMemoryCacheTest.groovy
import java.util.function.Supplier class ManualEvictionInMemoryCacheTest extends Specification { @Timeout(value = 5, unit = TimeUnit.SECONDS) def "supports #concurrency concurrent computations"() { def latch = new CountDownLatch(concurrency) def executor = Executors.newFixedThreadPool(concurrency) def cache = new ManualEvictionInMemoryCache<String, String>() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.h
#include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h" namespace mlir { namespace quant { // Check if the op has data movement trait. Ops with this trait do not perform // any computations but just move data and has one result operand. bool IsOpWithDataMovementTrait(Operation* op); // Check if the op is quantizable. Currently, the scope of quantizable op is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 2.5K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/sha3/shake.go
// a customizable variant of SHAKE128. // N is used to define functions based on cSHAKE, it can be empty when plain cSHAKE is // desired. S is a customization byte string used for domain separation - two cSHAKE // computations on same input with different S yield unrelated outputs. // When N and S are both empty, this is equivalent to NewShake128. func NewCShake128(N, S []byte) ShakeHash { if len(N) == 0 && len(S) == 0 { return NewShake128()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/jit/jit_compilation_pass_registration.cc
#include "tensorflow/core/common_runtime/optimization_registry.h" namespace tensorflow { // PRE_PLACEMENT passes: // EncapsulateXlaComputationsPass rewrites computations generated by the // xla.compile() Python code into XlaLaunch nodes. REGISTER_OPTIMIZATION(OptimizationPassRegistry::PRE_PLACEMENT, 36, EncapsulateXlaComputationsPass); // from
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 11 21:53:08 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/controller/podautoscaler/monitor/metrics.go
metricComputationTotal = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: hpaControllerSubsystem, Name: "metric_computation_total", Help: "Number of metric computations. The label 'action' should be either 'scale_down', 'scale_up', or 'none'. Also, the label 'error' should be either 'spec', 'internal', or 'none'. The label 'metric_type' corresponds to HPA.spec.metrics[*].type",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 22:47:24 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.h
limitations under the License. ==============================================================================*/ // // This file defines support utilities for interoperating with FakeQuant* based // QAT (Quantized Aware Training) computations, as implemented by TFLite. Note // that FakeQuant* operators mix multiple concerns specific to how TFLite // originally implemented quantization. As such, utilities here enforce
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 11:52:27 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc
compilation_result->computation->proto(), xla::DebugOptions())); TF_ASSIGN_OR_RETURN( std::unique_ptr<xla::HloModule> hlo_module, xla::HloModule::CreateFromProto(compilation_result->computation->proto(), hlo_module_config)); std::string all_computations; for (auto computation : hlo_module->computations()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 00:40:46 UTC 2024 - 6.8K bytes - Viewed (0)