Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PropagateValuesConstraints (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/test_cluster_ops_by_policy.cc

      if (failed(InferFunctionBodyValuesConstraints(func, constraints)))
        return signalPassFailure();
    
      // Propagate constraints though the function body.
      auto result =
          PropagateValuesConstraints(func.getBody(), policies, constraints,
                                     /*resolve=*/false, /*emit_remarks=*/true);
      (void)result;
    
      // Emit remarks for all operations that use constrained values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

        Operation *op = v.getDefiningOp();
        if (op && filter(op)) constraints.Insert(v, constraint);
      });
    
      // Update `src_root` constraints only if we can propagate them.
      if (succeeded(PropagateValuesConstraints(worklist, filter, policies,
                                               constraints, /*resolve=*/true))) {
        members[src_root].constraints = constraints;
        return success();
      }
    
      return failure();
    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. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    // operation, or constraints can't be satisfied by the policy), and attaches
    // error diagnostics to the operation that prevented constraints propagation.
    mlir::LogicalResult PropagateValuesConstraints(
        llvm::ArrayRef<Operation*> root, std::function<bool(Operation*)> filter,
        const ClusteringPolicySet& policies, ValuesConstraintSet& constraints,
        bool resolve = false, bool emit_remarks = false);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top