Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 142 for cond_a (0.1 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

      // CHECK-NOT: tf.Const
      // CHECK:  "tf._TfrtGetResource"()
      %cond = "tf.Const"() {device = "/CPU:0", value = dense<true> : tensor<i1>} : () -> tensor<i1>
      // CHECK: tf.If
      %x = "tf.If"(%cond, %handle) {then_branch = @some_func, else_branch = @some_func, is_stateless = false} : (tensor<i1>, tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue.go

    	// pod maximum backoff duration.
    	podMaxBackoffDuration time.Duration
    	// the maximum time a pod can stay in the unschedulablePods.
    	podMaxInUnschedulablePodsDuration time.Duration
    
    	cond sync.Cond
    
    	// inFlightPods holds the UID of all pods which have been popped out for which Done
    	// hasn't been called yet - in other words, all pods that are currently being
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/regalloc_test.go

    	c := testConfig(t)
    	f := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("ptr", OpArg, c.config.Types.Int64.PtrTo(), 0, c.Temp(c.config.Types.Int64)),
    			Valu("cond", OpArg, c.config.Types.Bool, 0, c.Temp(c.config.Types.Bool)),
    			Valu("ld", OpAMD64MOVQload, c.config.Types.Int64, 0, nil, "ptr", "mem"), // this value needs a spill
    			Goto("loop"),
    		),
    		Bloc("loop",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. pkg/controller/deployment/util/deployment_util_test.go

    			condType: apps.DeploymentReplicaFailure,
    
    			expected: false,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			cond := GetDeploymentCondition(test.status, test.condType)
    			exists := cond != nil
    			if exists != test.expected {
    				t.Errorf("%s: expected condition to exist: %t, got: %t", test.name, test.expected, exists)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

        return failure();
      }
      // Cond should not change stacks in the arguments, so use an empty map.
      auto cond = while_op.cond_function();
      ModifyFunctionSignature(cond, nullptr, find_arg_stack_type);
      llvm::SmallDenseMap<Value, Value> empty_map;
      if (failed(DecomposeStackOpsInternal(&cond.front(), module, &empty_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/fuse_test.go

    					Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    					Valu("cond", OpArg, c.config.Types.Bool, 0, nil),
    					Valu("x", OpArg, c.config.Types.Int64, 0, nil),
    					Goto("exit")))
    
    			phiArgs := make([]string, 0, 2*n)
    			for i := 0; i < n; i++ {
    				cname := fmt.Sprintf("c%d", i)
    				blocks = append(blocks,
    					Bloc(fmt.Sprintf("b%d", i), If("cond", cname, "merge")),
    					Bloc(cname, Goto("merge")))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/upgrade/health.go

    		if err != nil {
    			lastError = err
    			klog.V(2).Infof("could not get Job %q in the namespace %q, retrying: %v", jobName, ns, err)
    			return false, nil
    		}
    		for _, cond := range job.Status.Conditions {
    			if cond.Type == batchv1.JobComplete {
    				return true, nil
    			}
    		}
    		lastError = errors.Errorf("no condition of type %v", batchv1.JobComplete)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/printer.go

    		if n.Init == nil && n.Post == nil {
    			if n.Cond != nil {
    				p.print(n.Cond, blank)
    			}
    		} else {
    			if n.Init != nil {
    				p.print(n.Init)
    				// TODO(gri) clean this up
    				if _, ok := n.Init.(*RangeClause); ok {
    					p.print(blank, n.Body)
    					break
    				}
    			}
    			p.print(_Semi, blank)
    			if n.Cond != nil {
    				p.print(n.Cond)
    			}
    			p.print(_Semi, blank)
    			if n.Post != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (PanicBounds [kind] x y mem) && boundsABI(kind) == 2 => (LoweredPanicBoundsC [kind] x y mem)
    
    (CondSelect <t> x y cond) => (OR (MASKEQZ <t> x cond) (MASKNEZ <t> y cond))
    
    // Optimizations
    
    // Absorb boolean tests into block
    (NE (FPFlagTrue cmp) yes no) => (FPT cmp yes no)
    (NE (FPFlagFalse cmp) yes no) => (FPF cmp yes no)
    (EQ (FPFlagTrue cmp) yes no) => (FPF cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  10. pkg/controller/deployment/util/deployment_util.go

    func ReplicaSetToDeploymentCondition(cond apps.ReplicaSetCondition) apps.DeploymentCondition {
    	return apps.DeploymentCondition{
    		Type:               apps.DeploymentConditionType(cond.Type),
    		Status:             cond.Status,
    		LastTransitionTime: cond.LastTransitionTime,
    		LastUpdateTime:     cond.LastTransitionTime,
    		Reason:             cond.Reason,
    		Message:            cond.Message,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top