- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ValuesConstraintSet (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h
// Merges all constrains from the other constraints set into this one. void MergeAll(const ValuesConstraintSet& other); // Remove constraints that can be statically resolved from the type of the // constrained value (see `IsStaticallyResolved` defined above). ValuesConstraintSet& Resolve(); // Reset all constraints. ValuesConstraintSet& Reset(); // Return the number of constrained values in the set.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
return it->getSecond(); } bool ValuesConstraintSet::HasConstraint(Value value) const { return GetConstraint(value).has_value(); } void ValuesConstraintSet::MergeAll(const ValuesConstraintSet &other) { other.Walk([this](Value value, ValueConstraint constraint) { Insert(value, constraint); }); } ValuesConstraintSet &ValuesConstraintSet::Resolve() { llvm::SmallDenseSet<Value, 4> resolved;
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/tensorflow/transforms/test_cluster_ops_by_policy.cc
}; // Clustering policy for `test.OpA` and `test.OpB` operations; class TestOpsClusteringPolicy : public ClusteringPolicy { LogicalResult MatchAndUpdateConstraints( Operation* op, const ValuesConstraintSet& results, ValuesConstraintSet& operands) const final { // Check if operation is `test.OpA` or `test.OpB`. bool is_op_a = op->getName().getStringRef() == "test.OpA"; bool is_op_b = op->getName().getStringRef() == "test.OpB";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 09:19:38 UTC 2022 - 3.2K bytes - Viewed (0)