- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 126 for Cond (0.04 sec)
-
src/cmd/compile/internal/typecheck/stmt.go
} return n } // tcFor typechecks an OFOR node. func tcFor(n *ir.ForStmt) ir.Node { Stmts(n.Init()) n.Cond = Expr(n.Cond) n.Cond = DefaultLit(n.Cond, nil) if n.Cond != nil { t := n.Cond.Type() if t != nil && !t.IsBoolean() { base.Errorf("non-bool %L used as for condition", n.Cond) } } n.Post = Stmt(n.Post) Stmts(n.Body) return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
Value ConvertConditionToBoolean(Operation* op, Value cond) { if (auto ranked_type = mlir::dyn_cast<RankedTensorType>(cond.getType())) if (ranked_type.getRank() == 0 && ranked_type.getElementType().isSignlessInteger(1)) return cond; OpBuilder builder(op); Value to_bool = builder.create<TF::ToBoolOp>(op->getLoc(), cond); CopyDeviceAndUnderscoredAttributes(op, to_bool.getDefiningOp());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
func::FuncOp cond = op.cond_function(); func::FuncOp body = op.body_function(); llvm::BitVector can_eliminate(op.getNumResults()); for (OpResult result : llvm::reverse(op.getResults())) { if (!result.use_empty()) continue; int result_idx = result.getResultNumber(); BlockArgument cond_arg = cond.getArgument(result_idx); BlockArgument body_arg = cond.getArgument(result_idx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go
defaultBody = &cc.Body defaultFallthrough = fallthru defaultBlock = body continue } var nextCond *Block for _, cond := range cc.List { nextCond = b.newBlock(KindSwitchNextCase, cc) b.add(cond) // one half of the tag==cond condition b.ifelse(body, nextCond) b.current = nextCond } b.current = body b.targets = &targets{ tail: b.targets,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 11.4K bytes - Viewed (0) -
operator/pkg/helmreconciler/wait.go
if errGet != nil { return false, errGet } for _, cond := range crd.Status.Conditions { switch cond.Type { case apiextensions.Established: if cond.Status == apiextensions.ConditionTrue { scope.Infof("established CRD %s", crdName) continue descriptor } case apiextensions.NamesAccepted: if cond.Status == apiextensions.ConditionFalse {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 08 03:13:12 UTC 2023 - 13.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
func (p *Parser) append(prog *obj.Prog, cond string, doLabel bool) { if cond != "" { switch p.arch.Family { case sys.ARM: if !arch.ARMConditionCodes(prog, cond) { p.errorf("unrecognized condition code .%q", cond) return } case sys.ARM64: if !arch.ARM64Suffix(prog, cond) { p.errorf("unrecognized suffix .%q", cond) return } case sys.AMD64, sys.I386:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/crypto/internal/nistec/p256.go
q.x.Set(x3) q.y.Set(y3) q.z.Set(z3) return q } // Select sets q to p1 if cond == 1, and to p2 if cond == 0. func (q *P256Point) Select(p1, p2 *P256Point, cond int) *P256Point { q.x.Select(p1.x, p2.x, cond) q.y.Select(p1.y, p2.y, cond) q.z.Select(p1.z, p2.z, cond) return q } // A p256Table holds the first 15 multiples of a point at offset -1, so [1]P
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 17.2K bytes - Viewed (0) -
src/crypto/internal/nistec/generate.go
q.x.Set(x3) q.y.Set(y3) q.z.Set(z3) return q } // Select sets q to p1 if cond == 1, and to p2 if cond == 0. func (q *{{.P}}Point) Select(p1, p2 *{{.P}}Point, cond int) *{{.P}}Point { q.x.Select(p1.x, p2.x, cond) q.y.Select(p1.y, p2.y, cond) q.z.Select(p1.z, p2.z, cond) return q } // A {{.p}}Table holds the first 15 multiples of a point at offset -1, so [1]P
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/async_while.mlir
%out_matrix2 = "tf.MatMul"(%out_matrix1, %matrix_2): (tensor<3x3xf32>, tensor<3x3xf32>) -> tensor<3x3xf32> %cond = "tf.GreaterEqual"(%updated_loop_count, %bound) : (tensor<i32>, tensor<i32>) -> tensor<i1> %result = "tf.Select"(%cond, %out_matrix, %matrix) : (tensor<i1>, tensor<3x3xf32>, tensor<3x3xf32>) -> tensor<3x3xf32> %cond2 = "tf.Identity"(%cond) : (tensor<i1>) -> tensor<i1>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 22.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/RISCV64.rules
(BEQ (MOVDconst [0]) cond yes no) => (BEQZ cond yes no) (BEQ cond (MOVDconst [0]) yes no) => (BEQZ cond yes no) (BNE (MOVDconst [0]) cond yes no) => (BNEZ cond yes no) (BNE cond (MOVDconst [0]) yes no) => (BNEZ cond yes no) (BLT (MOVDconst [0]) cond yes no) => (BGTZ cond yes no) (BLT cond (MOVDconst [0]) yes no) => (BLTZ cond yes no) (BGE (MOVDconst [0]) cond yes no) => (BLEZ cond yes no)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 40.3K bytes - Viewed (0)