- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 412 for Computation (0.18 sec)
-
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.h
// unnecessary cluster recompilations in some common cases. After the rewrite // shown above jit/partially_decluster_pass extracts the actual_size(...) // computation to outside the XLA cluster, causing the cluster to be versioned // only on the actual size of the XlaDynamicSlice. This avoids recompilation // due to superficial changes that don't affect tensor shapes. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 26 21:01:34 UTC 2018 - 2.2K bytes - Viewed (0) -
src/sync/example_test.go
go func() { once.Do(onceBody) done <- true }() } for i := 0; i < 10; i++ { <-done } // Output: // Only once } // This example uses OnceValue to perform an "expensive" computation just once, // even when used concurrently. func ExampleOnceValue() { once := sync.OnceValue(func() int { sum := 0 for i := 0; i < 1000; i++ { sum += i } fmt.Println("Computed once:", sum)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 17:45:47 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util.cc
} } else if (src_outside_compilation && !dst_outside_compilation) { // Case 1b: outside compilation to its XLA computation control edge. ReplaceAttr(e->src(), kXlaConnectedToXlaComputationAttrName, true); } else if (!src_outside_compilation && dst_outside_compilation) { // Case 1b: XLA computation to outside compilation in it control edge. ReplaceAttr(e->dst(), kXlaConnectedFromXlaComputationAttrName, true); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.5K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDeclarationProviderFactory.kt
* contextual module to provide declarations differently, such as providing alternative declarations for an outsider module. Some * functionality such as package set computation may also depend on the contextual module, as the declaration provider may require * additional information not available in the [scope]. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 3.1K bytes - Viewed (0) -
test/escape_level.go
// errorcheck -0 -m -l // Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test indirection level computation in escape analysis. package escape var sink interface{} func level0() { i := 0 // ERROR "moved to heap: i" p0 := &i // ERROR "moved to heap: p0" p1 := &p0 // ERROR "moved to heap: p1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 03 17:52:06 UTC 2019 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_compile_util.h
// OpKernelContext in the above function. // - `device`: the device used to compile the function. // - `rm`: the resource manager for DeviceCompiler to store JIT-compiled XLA // computation. // - `flr`: the FunctionLibraryRuntime for the `function`. Status CompileToPjRtLoadedExecutable( const DeviceBase* device, const XlaPlatformInfo& platform_info, const NameAttrList& function,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td
// point constant. def : Pat<(TFL_DequantizeOp (TFL_QuantizeOp (Arith_ConstantOp F32ElementsAttr:$cst), $qt)), (TFL_ConstOp $cst)>; // Transpose conv supports hybrid computation with quantized weights. def FoldQuantWeightsIntoTposeConv : Pat< (TFL_TransposeConvOp $output_shape, (TFL_DequantizeOp $quant_weights), $quant_input, $bias, $padding, $stride_h, $stride_w, $faf),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:10:13 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/lazy/lazy.go
// The concepts and code are heavily influenced by https://cs.opensource.google/go/go/+/go1.19:src/sync/once.go. package lazy import ( "sync" "sync/atomic" ) // Lazy represents a value whose computation is deferred until the first access type Lazy[T any] interface { // Get returns the value, computing it if necessary. Get() (T, error) } type lazyImpl[T any] struct { getter func() (T, error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 17 22:54:10 UTC 2022 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/reduce_while_operands.mlir
// S = (1, 0, 0) // whlie (S[2] < 3) { // s0 = S[0] * 2 // s1 = S[0] + S[1] // s2 = S[2] + 1 // S = (s0, s1, s2) // } // return S[2] // } // // Since only S[2] is returned and the computation of final S[2] does not depend // on S[0] and S[1]. The func can be optimized to // // func increase_3rd_operand_3_times(): // s2 = 0 // whlie (s2 < 3) { // s2 = s2 + 1 // } // return s2 // }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 14:24:59 UTC 2022 - 3.1K bytes - Viewed (0) -
platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/dependencies/transforms/SnapshotTransformInputsBuildOperationType.java
import org.gradle.operations.execution.FilePropertyVisitor; import javax.annotation.Nullable; import java.util.List; import java.util.Map; /** * Represents the computation of capturing the before execution state and resolving the caching state for transforms. * <p> * Must occur as a child of {@link org.gradle.operations.execution.ExecuteWorkBuildOperationType}. * * @since 8.3 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 10 08:07:59 UTC 2023 - 3.2K bytes - Viewed (0)