- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 4,183 for switch2 (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/merge_node_with_function.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 14 20:47:36 UTC 2021 - 1K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
} TEST(DeadnessAnalysisTest, AndOfOr) { Scope root = Scope::NewRootScope().ExitOnError(); ops::Switch sw_0 = CreateSwitch(root, "0"); ops::Switch sw_1 = CreateSwitch(root, "1"); ops::Switch sw_2 = CreateSwitch(root, "2"); ops::Switch sw_3 = CreateSwitch(root, "3"); ops::Merge m0(root.WithOpName("m0"), {sw_0.output_false, sw_1.output_false});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K 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/gover/toolchain.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_linux.go
return fmt.Errorf("failed to open current netns: %v", err) } defer threadNS.Close() // switch to target namespace if err = NetnsSet(fdable); err != nil { return err } defer func() { err := threadNS.Set() // switch back if err == nil { // Unlock the current thread only when we successfully switched back // to the original namespace; otherwise leave the thread locked which
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 31 10:05:36 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/switch_test.go
rng = rng.next(predictable) switch a[rng.value()&7].(type) { case SI0: n += 1 case SI1: n += 2 case SI2: n += 3 case SI3: n += 4 case SI4: n += 5 case SI5: n += 6 case SI6: n += 7 case SI7: n += 8 } } sink = n } // A simple random number generator used to make switches conditionally predictable. type rng uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir
tf_executor.yield %add, %less : tensor<*xi32>, tensor<i1> } %switch:3 = tf_executor.Switch %island0#0, %island0#1 : tensor<*xi32> %island1:2 = tf_executor.island { %add = "tf.Add"(%switch#0, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32> %res = "tf.Print"(%add) { message = "add result 2" } : (tensor<*xi32>) -> (tensor<*xi32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td
} def TfExecutor_SwitchOp : TfExecutor_Op<"Switch", [ControlOperandsAfterAllData, HasParent<"GraphOp">, PredOpTrait<"data operand must be broadcastable to true result", TF_OpIsBroadcastableToRes<0, 0>>, PredOpTrait<"data operand must be broadcastable to false result", TF_OpIsBroadcastableToRes<0, 1>>]>{ let summary = [{ The "tf_executor.Switch" operation takes a data operand and a boolean
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 23 19:35:12 UTC 2023 - 22K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go
targets []ast.Expr // interfaces T in v.(T) ) switch n := n.(type) { case *ast.TypeAssertExpr: // take care of v.(type) in *ast.TypeSwitchStmt if n.Type == nil { return } assert = n targets = append(targets, n.Type) case *ast.TypeSwitchStmt: // retrieve type assertion from type switch's 'assign' field switch t := n.Assign.(type) { case *ast.ExprStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/download.go
if haveExplicitArgs || modload.WorkFilePath() != "" { var sw toolchain.Switcher // Add errors to the Switcher in deterministic order so that they will be // logged deterministically. for _, m := range mods { if erri, ok := downloadErrs.Load(m); ok { sw.Error(erri.(error)) } } // Only call sw.Switch if it will actually switch. // Otherwise, we may want to write the errors as JSON
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 19:32:39 UTC 2023 - 13.5K bytes - Viewed (0)