Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 278 for Constraint (0.17 sec)

  1. src/cmd/compile/internal/types2/instantiate.go

    // is called through an exported API call such as AssignableTo. If constraint
    // is set, T is a type constraint.
    //
    // If the provided cause is non-nil, it may be set to an error string
    // explaining why V does not implement (or satisfy, for constraints) T.
    func (check *Checker) implements(pos syntax.Pos, V, T Type, constraint bool, cause *string) bool {
    	Vu := under(V)
    	Tu := under(T)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    def OneElementAttr
      : ElementsAttrBase<And<[ElementsAttr.predicate, OneElementAttrPred]>,
                         "Scalar ElementsAttr">;
    
    def HasRankedFirstOperand
      : Constraint<CPred<"(*$0.begin()).getType().isa<RankedTensorType>()">>;
    
    def IsShapedTensor
      : Constraint<CPred<"$0.getType().isa<RankedTensorType>()">>;
    
    // This pattern converts TensorFlow axis format to HLO axis format which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenVersionScheme.java

            return delegate.parseVersionRange(range);
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) throws InvalidVersionSpecificationException {
            return delegate.parseVersionConstraint(constraint);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultVersionParser.java

            return modelVersionParser.parseVersionRange(range);
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            return modelVersionParser.parseVersionConstraint(constraint);
        }
    
        @Override
        public boolean isSnapshot(String version) {
            return modelVersionParser.isSnapshot(version);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	}
    	var constraint string
    	if ttp.Constraint == nil {
    		constraint = fmt.Sprintf("%*sConstraint: nil", indent+2, "")
    	} else {
    		constraint = ttp.Constraint.goString(indent+2, "Constraint: ")
    	}
    	return fmt.Sprintf("%*s%sTemplateTemplateParam:\n%s\n%s\n%s", indent, "", field,
    		ttp.Name.goString(indent+2, "Name: "),
    		params.String(),
    		constraint)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilder.java

    public class ResolutionResultGraphBuilder implements ResolvedComponentVisitor {
        private static final DefaultComponentSelectionDescriptor DEPENDENCY_LOCKING = new DefaultComponentSelectionDescriptor(ComponentSelectionCause.CONSTRAINT, Describables.of("Dependency locking"));
        private final Long2ObjectMap<DefaultResolvedComponentResult> components = new Long2ObjectOpenHashMap<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/cmp/cmp.go

    // Package cmp provides types and functions related to comparing
    // ordered values.
    package cmp
    
    // Ordered is a constraint that permits any ordered type: any type
    // that supports the operators < <= >= >.
    // If future releases of Go add new ordered types,
    // this constraint will be modified to include them.
    //
    // Note that floating-point types may contain NaN ("not-a-number") values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.td

    class IsBoolAttrEqual<string true_or_false> : Constraint<CPred<
      "$0.getValue() == "#true_or_false#"">>;
    
    // Receives a composite DictionaryAttr as an argument and checks if one of the
    // its attributes (with the name `attr_name`) is of type `attribute` and has
    // the value `val`.
    class IsCompositeAttribute<string attr_name, Attr attribute, string val>:
      Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/infer.go

    					var cause string
    					constraint := tpar.iface()
    					if m, _ := check.missingMethod(tx, constraint, true, func(x, y Type) bool { return u.unify(x, y, exact) }, &cause); m != nil {
    						// TODO(gri) better error message (see TODO above)
    						err.addf(pos, "%s (type %s) does not satisfy %s %s", tpar, tx, tpar.Constraint(), cause)
    						return nil
    					}
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    // satisfied by SAME or VALID tensorflow padding.
    def HasCustomPadding:
      Constraint<CPred<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>()) == $_builder.getStringAttr(\"CUSTOM\")">>;
    
    // Returns true if the provided padding in the composite op can be satisfied 
    // by SAME or VALID tensorflow padding.
    def HasSameOrValidPadding: Constraint<Neg<HasCustomPadding.predicate>>;
    
    // See the function doc in the header file.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top