Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 231 for Constraint (0.3 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/MutationValidator.java

            /**
             * The mutation of the attributes (other than coordinates) of a dependency constraint.
             * Theoretically these should be bundled under {@link MutationType#DEPENDENCIES}, but these mutations are not (yet)
             * prevented on resolved configurations.
             */
            DEPENDENCY_CONSTRAINT_ATTRIBUTES("dependency constraint attributes"),
    
            /**
             * The mutation of the artifacts of the configuration.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:26:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

    class HasEqualElementSize<list<int> shape_1, list<int> shape_2> : Constraint<
      CPred<"quant::HasEqualElementSize($0, $1,"
      "llvm::ArrayRef<int>({" # !interleave(shape_1, ", ") # "}),"
      "llvm::ArrayRef<int>({" # !interleave(shape_2, ", ") # "}))">,
      "Checks if the given dimensions contain the same number of elements.">;
    
    def ReshapableTo1DTensor : Constraint<
      CPred<"quant::ReshapableTo1DTensor($0.getType().cast<ShapedType>())">,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/lite/quantization/device_target.cc

    namespace ph = std::placeholders;
    
    LogicalResult DeviceTarget::RegisterKernel(
        llvm::StringRef kernel, const KernelSpecs::Signature& signature,
        const ScaleConstraintType constraint) {
      if (failed(specs_[kernel].Add(signature, {constraint, {}}))) return failure();
      switch (constraint) {
        case ScaleConstraintType::OutputInputSameScale:
          specs_[kernel].WithImpl(std::bind(&DeviceTarget::DecomposeSameScale,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyCollector.java

            }
    
            ((DependencyConstraintInternal) dependencyConstraint).addMutationValidator(constraint -> {
                if (((PropertyInternal<?>) getDependencyConstraints()).isFinalized()) {
                    throw new InvalidUserCodeException("Cannot mutate dependency constraint " + constraint + " after it has been finalized");
                }
            });
    
            return dependencyConstraint;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryPublishedTargetJvmEnvironmentIntegrationTest.groovy

            then:
            expectStandardJVM()
        }
    
        def "can enforce standard JVM variant on Android by constraint"() {
            given:
            prepareResolve('releaseCompileClasspath', 'jre')
    
            buildFile << """
                dependencies {
                    constraints {
                        implementation('org:producer:1.0') {
                            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. schema/interfaces.go

    package schema
    
    import (
    	"gorm.io/gorm/clause"
    )
    
    // ConstraintInterface database constraint interface
    type ConstraintInterface interface {
    	GetName() string
    	Build() (sql string, vars []interface{})
    }
    
    // GormDataTypeInterface gorm data type interface
    type GormDataTypeInterface interface {
    	GormDataType() string
    }
    
    // FieldNewValuePool field new scan value pool
    type FieldNewValuePool interface {
    	Get() interface{}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 980 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

                        (TFL_HardSwishOp $input)>;
    
    def IsNchwLayoutOp: Constraint<CPred<
      "$0.get(\"is_nchw_op\") && $0.get(\"is_nchw_op\").dyn_cast<BoolAttr>() "
          "== mlir::BoolAttr::get($_builder.getContext(), true)">>;
    
    def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>;
    
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependencyConstraintFactoryInternal.java

    package org.gradle.api.internal.artifacts.dsl.dependencies;
    
    import org.gradle.api.artifacts.DependencyConstraint;
    import org.gradle.api.artifacts.dsl.DependencyConstraintFactory;
    
    /**
     * Internal API for dependency constraint creation.
     */
    public interface DependencyConstraintFactoryInternal extends DependencyConstraintFactory {
        DependencyConstraint createDependencyConstraint(Object dependencyNotation);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:06 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top