- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for max_iterations_ (0.39 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference_pass.cc
} auto failure_or_converged = InferModuleShape( getOperation(), max_iterations_, /*ops_to_skip=*/{}, input_shapes_); if (failed(failure_or_converged)) return signalPassFailure(); if (!failure_or_converged.value()) { getOperation().emitError() << "shape inference pass did not reach convergence after " << max_iterations_; return signalPassFailure(); } } private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
int64_t max_iterations); // Shape propagation for call/control flow ops. // Returns a failure() on error, otherwise returns true to indicate that it // reached convergence, false otherwise. FailureOr<bool> PropagateShapeIntoAttachedFunctions(Operation* op, int64_t max_iterations); // Shape propagation for region based control flow.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
are only kept in the context rather than the ops folded/IR mutated. }]; let constructor = "TF::CreateTFShapeInferencePass()"; let options = [ Option<"max_iterations_", "max-iterations", "int64_t", /*default=*/"10", "Maximum shape inference iterations">, Option<"input_arg_shapes_", "input-arg-shapes", "std::string", /*default=*/"",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_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 TF_Tensor:$max_iterations,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 6.7K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.h
// reached convergence, false otherwise. // If input shapes are provided, first refines the `main` function using // InferShapeForFunction. FailureOr<bool> InferModuleShape(ModuleOp module, int64_t max_iterations = 10, ArrayRef<TypeID> ops_to_skip = {}, ArrayRef<ArrayRef<int64_t>> input_shapes = {});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 3.5K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:40:22 UTC 2024 - 68.6K bytes - Viewed (0) -
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) -
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)