Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 239 for aloop (0.05 sec)

  1. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

    // Test to verify loop outlining.
    
    // RUN: tf-opt --split-input-file --tfl-while-loop-outline %s | FileCheck %s
    // Check that while loop outlining is nop if re-ran.
    // RUN: tf-opt --tfl-while-loop-outline %s -o %t1
    // RUN: tf-opt --tfl-while-loop-outline %t1 -o %t2
    // RUN: diff %t1 %t2
    
    // CHECK-LABEL: func @while
    func.func @while() -> tensor<1xf32>
        attributes {tf.entry_function = {outputs = "result"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      // Collect external values used.
      llvm::SetVector<Value> extern_values;
    
      // The basic block arguments correspond to values that are loop carried, while
      // all those post are loop independent. Initialize extern_values with while_op
      // not loop carried operands.
      auto num_loop_carried = while_op.getCond().getNumArguments();
      auto not_carried_operands =
          while_op.getOperands().drop_front(num_loop_carried);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/crypto/internal/bigmod/nat.go

    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    	yLimbs := y.limbs[:size]
    
    	equal := yes
    	for i := 0; i < size; i++ {
    		equal &= ctEq(xLimbs[i], yLimbs[i])
    	}
    	return equal
    }
    
    // IsZero returns 1 if x == 0, and 0 otherwise.
    func (x *Nat) IsZero() choice {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/dra/manager.go

    		}
    	}
    	m.cache.RUnlock()
    
    	// Loop through all inactive pods and call UnprepareResources on them.
    	for _, podClaims := range inactivePodClaims {
    		if err := m.unprepareResources(podClaims.uid, podClaims.namespace, podClaims.claimNames); err != nil {
    			klog.ErrorS(err, "Unpreparing pod resources in reconcile loop", "podUID", podClaims.uid)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

    // Analyzes while loops to compute resourceIDs for the loop results.
    //
    // (1) The base case for the analysis is that if the loop body does not execute
    //     at all, the resource IDs for each result is the same as the resource IDs
    //     of the corresponding input.
    // (2) If the loop does execute one or more times, then we need to account for
    //     data flow through the body of the while loop. If result #r is the same
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. src/runtime/panic.go

    var rangePanicError = error(errorString("range function continued iteration after loop body panic"))
    var rangeExhaustedError = error(errorString("range function continued iteration after whole loop exit"))
    var rangeMissingPanicError = error(errorString("range function recovered a loop body panic and did not resume panicking"))
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/controller/repairip.go

    //    Service_B [ClusterIP_A]  <------> 								only one service can verify the relation
    // The IPAddress reconcile loop checks there are no orphan IPAddresses, the rest of the
    // cases are covered by the Services loop
    // 1.                          <------>  IPAddress_Z [Ref:Service_C]   !ok, orphan IPAddress
    
    type RepairIPAddress struct {
    	client   kubernetes.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix.go

    							Server: result.server,
    						}
    						break loop
    					}
    					if cname.Length == 0 && c.CNAME.Length > 0 {
    						cname = c.CNAME
    					}
    
    				default:
    					if err := result.p.SkipAnswer(); err != nil {
    						lastErr = &DNSError{
    							Err:    errCannotUnmarshalDNSMessage.Error(),
    							Name:   name,
    							Server: result.server,
    						}
    						break loop
    					}
    					continue
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/nestedpendingoperations"
    	"k8s.io/kubernetes/pkg/volume/util/operationexecutor"
    	"k8s.io/mount-utils"
    )
    
    // Reconciler runs a periodic loop to reconcile the desired state of the world
    // with the actual state of the world by triggering attach, detach, mount, and
    // unmount operations.
    // Note: This is distinct from the Reconciler implemented by the attach/detach
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. src/runtime/preempt.go

    				// where preemptM is actually
    				// synchronous and the spin loop here
    				// can lead to live-lock.
    				now := nanotime()
    				if now >= nextPreemptM {
    					nextPreemptM = now + yieldDelay/2
    					preemptM(asyncM)
    				}
    			}
    		}
    
    		// TODO: Don't busy wait. This loop should really only
    		// be a simple read/decide/CAS loop that only fails if
    		// there's an active race. Once the CAS succeeds, we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top