- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 184 for IsSwitch (0.14 sec)
-
tensorflow/compiler/jit/deadness_analysis.cc
} Status DeadnessAnalysisImpl::HandleNode(Node* n, std::vector<bool>* should_revisit, bool use_optimistic_mode) { if (n->IsSwitch()) { TF_RETURN_IF_ERROR(HandleSwitch(n, should_revisit)); } else if (n->IsMerge()) { TF_RETURN_IF_ERROR(HandleMerge(n, should_revisit, use_optimistic_mode)); } else if (n->IsControlTrigger()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
} // Check if the Identity is driven by a Switch on its true path. auto it = absl::c_find_if(node->in_edges(), [](const Edge* e) { return e->src()->IsSwitch() && e->src_output() == 1; }); if (it == node->in_edges().end()) { return false; } const Node* switch_node = (*it)->src(); // Check if the Switch is driven by LoopCond. const Node* maybe_loop_cond;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K 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) -
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/cmd/compile/internal/ssa/prove.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/go/types/expr.go
goto Error } // check if comparison is defined for operands code = UndefinedOp switch op { case token.EQL, token.NEQ: // spec: "The equality operators == and != apply to operands that are comparable." switch { case x.isNil() || y.isNil(): // Comparison against nil requires that the other operand type has nil. typ := x.typ if x.isNil() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
func markRelocs(p *obj.Prog) { switch p.As { case AMOV, AMOVB, AMOVH, AMOVW, AMOVBU, AMOVHU, AMOVWU, AMOVF, AMOVD: switch { case p.From.Type == obj.TYPE_ADDR && p.To.Type == obj.TYPE_REG: switch p.From.Name { case obj.NAME_EXTERN, obj.NAME_STATIC: p.Mark |= NEED_PCREL_ITYPE_RELOC } case p.From.Type == obj.TYPE_MEM && p.To.Type == obj.TYPE_REG: switch p.From.Name {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
goto Error } // check if comparison is defined for operands code = UndefinedOp switch op { case syntax.Eql, syntax.Neq: // spec: "The equality operators == and != apply to operands that are comparable." switch { case x.isNil() || y.isNil(): // Comparison against nil requires that the other operand type has nil. typ := x.typ if x.isNil() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
func (j xlMetaV2Version) getDataDir() string { if j.Valid() { switch j.Type { case LegacyType: return j.ObjectV1.DataDir case ObjectType: return uuid.UUID(j.ObjectV2.DataDir).String() } } return "" } // Valid xl meta xlMetaV2Version is valid func (j xlMetaV2Version) Valid() bool { if !j.Type.valid() { return false } switch j.Type { case LegacyType: return j.ObjectV1 != nil &&
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
} return Types[unsignedEType[t.kind]] } func (t *Type) IsInteger() bool { switch t.kind { case TINT8, TUINT8, TINT16, TUINT16, TINT32, TUINT32, TINT64, TUINT64, TINT, TUINT, TUINTPTR: return true } return t == UntypedInt || t == UntypedRune } func (t *Type) IsSigned() bool { switch t.kind { case TINT8, TINT16, TINT32, TINT64, TINT: return true } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)