Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for max_iterations_ (0.23 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        The Pmap executes body function in parallel for all ranges up to $max_iterations.
    
        The pseudo code:
          for(int i = 0; i < $max_iterations; i++) {
            body_fn(MlrtFture($tensor_list_or_flow_in[i]),
                    MlrtPromise($tensor_list_or_flow_in[i+1]),
                    i, i, $invariant_args);
          }
    
          return $tensor_list_or_flow_in[$max_iterations]
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

      // Run clustering passes until the convergence. Limit the number of iterations
      // to guard from the infinite loop in presence of bugs.
      constexpr int max_iterations = 100;
      for (unsigned i = 0; i < max_iterations; ++i)
        if (!RunClusteringPass(state, policies)) break;
    
      // Form clusters found by the union-find algorithm.
      llvm::DenseMap<unsigned, Cluster> root_clusters;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_test.go

    	om.setsIndexer.Add(set)
    	ssc.enqueueStatefulSet(set)
    	fakeWorker(ssc)
    	selector, err := metav1.LabelSelectorAsSelector(set.Spec.Selector)
    	if err != nil {
    		return err
    	}
    	iterations := 0
    	for (maxIterations < 0 || iterations < maxIterations) && set.Status.ReadyReplicas < *set.Spec.Replicas {
    		iterations++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      // Look if there is a function that tries until it converge.
      // Currently unit-test doesn't do multiple tries, so we need this.
      const int max_iterations = 15;
      for (int i = 0; i < max_iterations; ++i) {
        if (failed(applyPartialConversion(func, target, frozenPatterns))) {
          return false;
        }
      }
      return true;
    }
    
    void LegalizeTFPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top