Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,131 for Constraint (0.17 sec)

  1. 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)
  2. src/internal/types/testdata/fixedbugs/issue51229.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // Constraint type inference should be independent of the
    // ordering of the type parameter declarations. Try all
    // permutations in the test case below.
    // Permutations produced by https://go.dev/play/p/PHcZNGJTEBZ.
    
    func f00[S1 ~[]E1, S2 ~[]E2, E1 ~byte, E2 ~byte](S1, S2) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    			// | P{foo} | P{foo, bar} |        | P{foo} P{bar} |
    			// +--------+-------------+--------+---------------+
    			// For the first constraint (zone): the matching pods spread as 2/2/1/1
    			// For the second constraint (node): the matching pods spread as 0/1/0/1
    			name: "two Constraints on zone and node, with different labelSelectors",
    			pod: st.MakePod().Name("p").Label("foo", "").Label("bar", "").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    include "tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.td"
    
    /// TODO(b/130756570): Support OpBase constraints in PatternRewrites.
    def SingleResultAndOperandHaveSameElementType : Constraint<
      CPred<"getElementTypeOrSelf($0) == getElementTypeOrSelf($1)">>;
    
    def SingleResultAndOperandHaveSameType : Constraint<
      CPred<"$0.getType() == $1.getType()">>;
    
    def IsRank2Tensor : Type<HasAnyRankOfPred<[2]>, "Rank 2 tensor">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/MixedDependencyLockingIntegrationTest.groovy

            when:
            succeeds 'dependencyInsight', '--configuration', 'unlockedConf', '--dependency', 'foo'
    
            then:
            outputContains('org:foo:1.1')
            outputDoesNotContain('constraint')
    
        }
    
        def 'ignores the lockfile of a parent configuration when resolving an unlocked child configuration'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/jvm/java_platform_plugin.adoc

    The `api` configuration should be used to declare constraints and dependencies which should be used when compiling against the platform, whereas the `runtime` configuration should be used to declare constraints or dependencies which are visible at runtime.
    
    .Declaring API and runtime constraints
    ====
    include::sample[dir="snippets/java-platform/quickstart/kotlin",files="build.gradle.kts[tags=constraints]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue50321.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func Ln[A A /* ERROR "cannot use a type parameter as constraint" */ ](p A) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 250 bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue51616.go

    package p
    
    type (
            C[T any] interface{~int; M() T}
    
            _ C[bool]
            _ comparable
            _ interface {~[]byte | ~string}
    
            // Alias type declarations may refer to "constraint" types
            // like ordinary type declarations.
            _ = C[bool]
            _ = comparable
            _ = interface {~[]byte | ~string}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 497 bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                }
                constraint('commons-logging:commons-logging:1.1') { rejects() }
    
                noMoreDependencies()
            }
    
            javaLibrary.parsedModuleMetadata.variant("runtimeElements") {
                dependency('org.springframework:spring-core:1.2.9') {
                    rejects()
                    noMoreExcludes()
                }
                constraint('commons-logging:commons-logging:1.1') { rejects() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
Back to top