- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 146 for Cond (3.92 sec)
-
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
LogicalResult rewriteOpWithDynamicInput(Operation* op, PatternRewriter& rewriter) const { auto cond = op->getOperand(0); auto lhs = op->getOperand(1); auto rhs = op->getOperand(2); auto out = op->getResult(0); // Matches fail when lhs|rhs|cond is unranked tensor. // TODO(b/176202543): Support unranked tensor. if (!mlir::cast<ShapedType>(lhs.getType()).hasRank() ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tests/integration/ambient/waypoint_test.go
} cond := kstatus.GetCondition(gwc.Status.Conditions, string(k8s.GatewayClassConditionStatusAccepted)) if cond.Status != metav1.ConditionTrue { return fmt.Errorf("failed to find accepted condition: %+v", cond) } if cond.ObservedGeneration != gwc.Generation { return fmt.Errorf("stale GWC generation: %+v", cond) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.4K bytes - Viewed (0) -
src/runtime/os_darwin.go
pthread_mutex_unlock(&mp.mutex) return -1 } var t timespec t.setNsec(ns - spent) err := pthread_cond_timedwait_relative_np(&mp.cond, &mp.mutex, &t) if err == _ETIMEDOUT { pthread_mutex_unlock(&mp.mutex) return -1 } } else { pthread_cond_wait(&mp.cond, &mp.mutex) } } } //go:nosplit func semawakeup(mp *m) { if g := getg(); g == g.m.gsignal {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc
Output arg1 = ops::_Arg(s.WithOpName("arg1"), DT_RESOURCE, 1); Output arg2 = ops::_Arg(s.WithOpName("arg2"), DT_INT32, 2); Output cond = ops::Const(s.WithOpName("const"), true, TensorShape({})); auto ret0 = ops::_Retval(s.WithOpName("ret0"), cond, 0); std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); TF_CHECK_OK(s.ToGraph(g.get())); FunctionDef *xla_fdef = fdl.add_function();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
/*only_one_return_value=*/false); } // Look through ToBool operations for the condition. Value cond = if_region.getCond(); auto to_bool = dyn_cast_or_null<ToBoolOp>(cond.getDefiningOp()); if (to_bool) cond = to_bool.getOperand(); // Once we have the `then` and `else` functions ready (either outlined or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
// // {label:} WORD[.cond] [ arg {, arg} ] (';' | '\n') // // It adds any labels to p.pendingLabels and returns the word, cond, // operand list, and true. If there is an error or EOF, it returns // ok=false. // // line may reuse the memory from scratch. func (p *Parser) line(scratch [][]lex.Token) (word, cond string, operands [][]lex.Token, ok bool) { next: // Skip newlines.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
// 3. no call func inside while. bool ReduceWhileOperands(TFL::WhileOp while_op) { std::vector<uint64_t> explicitly_consumed_ids; Block &cond = while_op.getCond().front(); Block &body = while_op.getBody().front(); auto n = while_op.getNumOperands(); if (!AllOperationSafe(cond) || !AllOperationSafe(body)) return false; // Find all Consumed indices. // i is consumed element if result(i) is used outside whileOp or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/compare.go
} } and := func(cond ir.Node) { if expr == nil { expr = cond } else { expr = ir.NewLogicalExpr(base.Pos, andor, expr, cond) } } cmpl = safeExpr(cmpl, init) cmpr = safeExpr(cmpr, init) if t.IsStruct() { conds, _ := compare.EqStruct(t, cmpl, cmpr) if n.Op() == ir.OEQ { for _, cond := range conds { and(cond) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0)