Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,837 for iterations (0.23 sec)

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

      let summary = "Asynchronously execution of while op for tf_mlrt";
      let description = [{
        cond: The boolean to control whether the first iteration should be executed.
        arguments: The last $invariant_size elements are invariants between iterations.
        results: a list of futures.
        body_fn: input is [predicate_promise, arg0_future, arg0_promise, arg1_future, arg1_promise, ..., invariant_args] and has no returned results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_test.go

    	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++
    		pods, err := om.podsLister.Pods(set.Namespace).List(selector)
    		if err != nil {
    			return err
    		}
    		ord := len(pods) - 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc

      OpPassManager pass_manager;
      llvm::StringRef device_type = "XLA_CPU_JIT";
      absl::string_view kInlinePass =
          "inline{default-pipeline=canonicalize "
          "inlining-threshold=4294967295 max-iterations=4 }";
    
      CreateConvertMlirToXlaHloPipeline(pass_manager, device_type,
                                        /*enable_op_fallback=*/true,
                                        /*custom_legalization_passes*/ {});
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 19:54:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/while_gradients.cc

    string BackPropFrameName(const string& forward_frame_name) {
      return strings::StrCat(forward_frame_name, "_backprop");
    }
    
    // Creates a loop that counts the number of iterations performed by the
    // while loop associated with `while_ctx`. The returned output yields the
    // iteration count.
    Status AddForwardLoopCounter(WhileContext* while_ctx, const Scope& scope,
                                 Output* count) {
      // Create while loop:
      //   i = 0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go

      context:
        cluster: foobar
        user: a name
    current-context: default
    `,
    			wantErr: true,
    		},
    	}
    
    	for _, tt := range tests {
    		// Use a closure so defer statements trigger between loop iterations.
    		err := func() error {
    			tempfile, err := ioutil.TempFile("", "")
    			if err != nil {
    				return err
    			}
    			p := tempfile.Name()
    			defer os.Remove(p)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. tensorflow/cc/ops/while_loop.cc

      // defining the frame) and that they are executed once per loop iteration.
      //
      // TODO(skyewm): the control dep will be added to all nodes in the cond graph.
      // This is at best unnecessary, and at worst may prevent different parts of
      // different loop iterations from executing in parallel.
      Scope cond_scope =
          scope.NewSubScope("cond").WithControlDependencies(inputs[0]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

          // trait, then we don't need to chain resource ops accessing this resource
          // between iterations: Every iteration will create a new independent
          // resource. This enables more parallelism across iterations.
          if (!side_effect_analysis.IsUniqueResourceAllocationId(
                  resource_and_device.first)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. gradlew

            # args, so each arg winds up back in the position where it started, but
            # possibly modified.
            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
            shift                   # remove old arg
            set -- "$@" "$arg"      # push replacement arg
        done
    fi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

            # args, so each arg winds up back in the position where it started, but
            # possibly modified.
            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
            shift                   # remove old arg
            set -- "\$@" "\$arg"      # push replacement arg
        done
    fi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

    ) -> rd.RepresentativeDataset:
      """Logs the sample number for calibration.
    
      If in debug logging level, the "sample number / total num samples" is logged
      for every 5 iterations.
    
      This is often useful when tracking the progress of the calibration step which
      is often slow and may look stale if there's no logs being printed.
    
      Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top