Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 552 for Constraint (0.16 sec)

  1. tensorflow/compiler/mlir/lite/quantization/device_target.h

      OutputInputFreeScale,
      CustomScale,
    };
    
    // Each kernel signature has its own specification for scales.
    struct KernelSpec {
      // Scale constraint
      ScaleConstraintType type;
    
      // Custom function to derive the scales. Only available when the scale
      // constraint is `CustomScale`.
      ScaleFn scale_fn;
    };
    
    class KernelSpecs {
     public:
      using Signature = llvm::SmallVector<quant::AnyQuantizedType, 4>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. test/typeparam/stringer.go

    import (
    	"fmt"
    	"reflect"
    	"strconv"
    )
    
    // Simple constraint
    type Stringer interface {
    	String() string
    }
    
    func stringify[T Stringer](s []T) (ret []string) {
    	for _, v := range s {
    		ret = append(ret, v.String())
    	}
    	return ret
    }
    
    type myint int
    
    func (i myint) String() string {
    	return strconv.Itoa(int(i))
    }
    
    // Constraint with an embedded interface, but still only requires String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/EnforcedPlatformIntegrationTest.groovy

            file('platform/build.gradle') << """
                plugins {
                    id 'java-platform'
                }
    
                dependencies {
                    constraints {
                        // Deliberately unsatisfiable constraint with version range
                        api 'org.apache.commons:commons-lang3:[99,)'
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/graph/LegendRenderer.java

            this.output = output;
        }
    
        public void printLegend() {
            if (hasConstraints) {
                output.println();
                output.withStyle(Info).text("(c) - A dependency constraint, not a dependency. The dependency affected by the constraint occurs elsewhere in the tree.");
            }
            if (hasCyclicDependencies) {
                output.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 03 14:10:29 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.td

    include "tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td"
    
    // Only handles the case where precision config is default.
    def IsPrecisionEmpty :
      Constraint<CPred<"IsPrecisionEmpty($0)">>;
    
    // Creates Einsum Op from XlaDotV2 Op by generating equation.
    def CreateEinsumOpFromXlaDotV2Op : NativeCodeCall<
      "CreateEinsumOpFromXlaDotV2Op($_builder, $_loc, $0...)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. test/typeparam/issue51219.dir/a.go

    package a
    
    // Type I is the first basic test for the issue, which relates to a type that is recursive
    // via a type constraint.  (In this test, I -> IConstraint -> MyStruct -> I.)
    type JsonRaw []byte
    
    type MyStruct struct {
    	x *I[JsonRaw]
    }
    
    type IConstraint interface {
    	JsonRaw | MyStruct
    }
    
    type I[T IConstraint] struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 28 14:59:04 UTC 2022
    - 487 bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/gradle/VariantMetadataSpec.groovy

        }
    
        void constraint(String group, String module, String version, String reason = null, Map<String, ?> attributes = [:]) {
            dependencyConstraints << new DependencyConstraintSpec(group, module, version, null, null, null, reason, attributes)
        }
    
        void constraint(String notation) {
            def gav = notation.split(':')
            constraint(gav[0], gav[1], gav[2])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/cycles5.go

    type sourceBridge interface {
    	listVersions() ([]Version, error)
    }
    
    type Constraint interface {
    	copyTo(*ConstraintMsg)
    }
    
    type ConstraintMsg struct{}
    
    func (m *ConstraintMsg) asUnpairedVersion() UnpairedVersion {
    	return nil
    }
    
    type Version interface {
    	Constraint
    }
    
    type UnpairedVersion interface {
    	Version
    }
    
    var _ Constraint = UnpairedVersion(nil)
    
    
    // derived test case from issue #21804
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top