- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,159 for switchn (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
//===----------------------------------------------------------------------===// // tf_executor.SwitchN //===----------------------------------------------------------------------===// LogicalResult SwitchNOp::verify() { SwitchNOp switchn = *this; IntegerAttr num_outs = switchn->getAttrOfType<IntegerAttr>("num_outs"); if (!num_outs) return switchn.emitOpError() << "expects a `num_outs` integer attribute";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
rewriter.replaceOpWithNewOp<tf_executor::SwitchOp>( op, new_types, new_operands, op->getAttrs()); return success(); } }; class ConvertSwitchNOp : public ConversionPattern { public: explicit ConvertSwitchNOp(MLIRContext *context) : ConversionPattern("tfg.SwitchN", PatternBenefit(1), context) {} LogicalResult matchAndRewrite(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/switch.go
} } // NeedSwitch reports whether Switch would attempt to switch toolchains. func (s *Switcher) NeedSwitch() bool { return s.TooNew != nil && (HasAuto() || HasPath()) } // Switch decides whether to switch to a newer toolchain // to resolve any of the saved errors. // It switches if toolchain switches are permitted and there is at least one TooNewError. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 7K bytes - Viewed (0) -
src/runtime/coro.go
mcall(coroswitch_m) } //go:linkname coroswitch // coroswitch switches to the goroutine blocked on c // and then blocks the current goroutine on c. func coroswitch(c *coro) { gp := getg() gp.coroarg = c mcall(coroswitch_m) } // coroswitch_m is the implementation of coroswitch // that runs on the m stack. // // Note: Coroutine switches are expected to happen at // an order of magnitude (or more) higher frequency
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:18 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/select.go
// and TESTGO_VERSION_SWITCH=switch is set, // "switch" toolchains by changing TESTGO_VERSION // and reinvoking the current binary. // The special cases =loop and =mismatch skip the // setting of TESTGO_VERSION so that it looks like we // accidentally invoked the wrong toolchain, // to test detection of that failure mode. switch TestVersionSwitch { case "switch": os.Setenv("TESTGO_VERSION", gotoolchain)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:25:05 UTC 2024 - 23.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
} return p.simpleStmt(lhs, 0) } switch p.tok { case _Var: return p.declStmt(p.varDecl) case _Const: return p.declStmt(p.constDecl) case _Type: return p.declStmt(p.typeDecl) } p.clearPragma() switch p.tok { case _Lbrace: return p.blockStmt("") case _Operator, _Star: switch p.op { case Add, Sub, Mul, And, Xor, Not:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
pkg/webhooks/validation/controller/controller.go
if !c.dryRunOfInvalidConfigRejected { if rejected, reason := c.isDryRunOfInvalidConfigRejected(); !rejected { scope.Infof("Not ready to switch validation to fail-closed: %v", reason) return false } scope.Info("Endpoint successfully rejected invalid config. Switching to fail-close.") c.dryRunOfInvalidConfigRejected = true // Sync all webhooks; this ensures if we have multiple webhooks all of them are updated
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 16:52:19 UTC 2024 - 11.3K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_arm64.go
} switch extractBits(isar0, 16, 19) { case 1: ARM64.HasCRC32 = true } switch extractBits(isar0, 20, 23) { case 2: ARM64.HasATOMICS = true } switch extractBits(isar0, 28, 31) { case 1: ARM64.HasASIMDRDM = true } switch extractBits(isar0, 32, 35) { case 1: ARM64.HasSHA3 = true } switch extractBits(isar0, 36, 39) { case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 3.9K bytes - Viewed (0) -
src/internal/types/testdata/check/stmt0.go
func typeswitches() { var i int var x interface{} switch x.(type) {} switch (x /* ERROR "outside type switch" */ .(type)) {} switch x.(type) { default: default /* ERROR "multiple defaults" */ : } switch x /* ERROR "declared and not used" */ := x.(type) {} switch _ /* ERROR "no new variable on left side of :=" */ := x.(type) {} switch x := x.(type) { case int: var y int = x _ = y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0) -
src/vendor/golang.org/x/net/nettest/nettest.go
ss := strings.Split(network, ":") switch ss[0] { case "ip+nopriv": // This is an internal network name for testing on the // package net of the standard library. switch runtime.GOOS { case "android", "fuchsia", "hurd", "ios", "js", "nacl", "plan9", "wasip1", "windows": return false } case "ip", "ip4", "ip6": switch runtime.GOOS {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0)