- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetConstraint (0.44 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/test_cluster_ops_by_policy.cc
bool is_op_a = op->getName().getStringRef() == "test.OpA"; bool is_op_b = op->getName().getStringRef() == "test.OpB"; if (!is_op_a && !is_op_b) return failure(); if (auto result_constraint = results.GetConstraint(op->getResult(0))) { // `test.OpA` converts shape constraint to rank constraint. if (is_op_a && *result_constraint == ValueConstraint::kShape) operands.Insert(op->getOperand(0), ValueConstraint::kRank);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 09:19:38 UTC 2022 - 3.2K bytes - Viewed (0) -
src/go/types/typeparam.go
return t.bound } // SetConstraint sets the type constraint for t. // // It must be called by users of NewTypeParam after the bound's underlying is // fully defined, and before using the type parameter in any way other than to // form other types. Once SetConstraint returns the receiver, t is safe for // concurrent use. func (t *TypeParam) SetConstraint(bound Type) { if bound == nil { panic("nil constraint")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeparam.go
return t.bound } // SetConstraint sets the type constraint for t. // // It must be called by users of NewTypeParam after the bound's underlying is // fully defined, and before using the type parameter in any way other than to // form other types. Once SetConstraint returns the receiver, t is safe for // concurrent use. func (t *TypeParam) SetConstraint(bound Type) { if bound == nil { panic("nil constraint")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 4.9K bytes - Viewed (0)