- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 661 for func4 (0.03 sec)
-
pkg/test/framework/components/echo/match/matchers.go
// Or is an aggregate Matcher that requires at least one matches return true. func Or(ms ...Matcher) Matcher { return func(i echo.Instance) bool { for _, m := range ms { if m != nil && m(i) { return true } } return false } } // Not negates the given matcher. Example: // // Not(Naked()) func Not(m Matcher) Matcher { return func(i echo.Instance) bool { return !m(i) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5.6K bytes - Viewed (0) -
src/runtime/lockrank_off.go
// //go:nosplit func releaseLockRankAndM(rank lockRank) { releasem(getg().m) } func lockWithRankMayAcquire(l *mutex, rank lockRank) { } //go:nosplit func assertLockHeld(l *mutex) { } //go:nosplit func assertRankHeld(r lockRank) { } //go:nosplit func worldStopped() { } //go:nosplit func worldStarted() { } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matchers_test.go
} func (f fakeInstance) Config() echo.Config { cfg := echo.Config(f) _ = cfg.FillDefaults(nil) return cfg } func (f fakeInstance) ServiceName() string { return f.Config().Service } func (f fakeInstance) NamespaceName() string { return f.Config().NamespaceName() } func (f fakeInstance) ServiceAccountName() string { return f.Config().ServiceAccountName() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc
pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass()); if (quantization_options.op_set() == OpSet::XLA) { pm.addNestedPass<mlir::func::FuncOp>( mlir::quant::CreateReplaceCastHacksWithTFXLAOpsPass()); } pm.addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass()); } pm.addNestedPass<mlir::func::FuncOp>(mlir::quant::CreateOptimizePass()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.9K bytes - Viewed (0) -
src/sync/atomic/type.go
_ noCopy v uint32 } // Load atomically loads and returns the value stored in x. func (x *Bool) Load() bool { return LoadUint32(&x.v) != 0 } // Store atomically stores val into x. func (x *Bool) Store(val bool) { StoreUint32(&x.v, b32(val)) } // Swap atomically stores new into x and returns the previous value. func (x *Bool) Swap(new bool) (old bool) { return SwapUint32(&x.v, b32(new)) != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize_batch_matmul.mlir
func.return %1 : tensor<16x128xf32> // CHECK: return %0 : tensor<16x128xf32> } // CHECK-LABEL: FuseTransposeFCLhsToBatchMatmul func.func @FuseTransposeFCLhsToBatchMatmul(%arg0: tensor<1024x4xf32>, %arg1: tensor<8x1024xf32>, %arg2: tensor<4x256xf32>) -> tensor<8x256xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/tests/shlo_simplify.mlir
func.func @foldDiv() -> tensor<2xf32> { %0 = stablehlo.constant dense<[2.0, 3.0]> : tensor<2xf32> %1 = stablehlo.constant dense<[4.0, 6.0]> : tensor<2xf32> %2 = stablehlo.divide %0, %1 : tensor<2xf32> return %2 : tensor<2xf32> } // CHECK-LABEL: foldDiv // CHECK: stablehlo.constant dense<5.000000e-01> : tensor<2xf32> // ----- func.func @foldDivLHSSplat() -> tensor<2xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 03:05:20 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir
// CHECK: return %[[MM]] : tensor<1x1000xf32> } func.func @snapshot(%arg0: tensor<3xi32>) -> tensor<3xi32> { %0 = "tf.Snapshot"(%arg0) : (tensor<3xi32>) -> tensor<3xi32> func.return %0 : tensor<3xi32> // Should be converted to Identity and then from Identity to value // CHECK-LABEL: snapshot // CHECK: return %arg0 : tensor<3xi32> } func.func @stop_gradient(%arg0: tensor<3xi32>) -> tensor<3xi32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 59.8K bytes - Viewed (0) -
cmd/naughty-disk_test.go
} func (d *naughtyDisk) LastConn() time.Time { return d.disk.LastConn() } func (d *naughtyDisk) IsLocal() bool { return d.disk.IsLocal() } func (d *naughtyDisk) Endpoint() Endpoint { return d.disk.Endpoint() } func (d *naughtyDisk) Hostname() string { return d.disk.Hostname() } func (d *naughtyDisk) Healing() *healingTracker { return d.disk.Healing() }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 9.4K bytes - Viewed (0) -
src/internal/concurrent/hashtriemap_test.go
m := NewHashTrieMap[string, int]() m.keyHash = func(_ unsafe.Pointer, _ uintptr) uintptr { return 0 } return m }) } func testHashTrieMap(t *testing.T, newMap func() *HashTrieMap[string, int]) { t.Run("LoadEmpty", func(t *testing.T) { m := newMap() for _, s := range testData { expectMissing(t, s, 0)(m.Load(s)) } }) t.Run("LoadOrStore", func(t *testing.T) { m := newMap()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 9.3K bytes - Viewed (0)