Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 244 for Primitive (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createLegalizeEinsumToDotGeneralPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createLegalizeDotToDotGeneralPass());
      // Unfuse mhlo BatchNorm to primitive ops.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createUnfuseBatchNormPass());
      // Fuse Conv + Mul to Conv.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createFuseConvolutionPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

            then:
            //we do not know which 'myProperty' setter is picked, as both fit equally well
            noExceptionThrown()
        }
    
        def "cannot write primitive type properties if type is unknown"() {
            when:
            writeableProperty(JavaTestSubject, "myBooleanProperty", null)
    
            then:
            def e = thrown(NoSuchPropertyException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java

        }
    
        @Override
        public Object get() {
            return value.isolate();
        }
    
        @Nullable
        private String desugar() {
            // We support desugaring for all non-primitive types supported in GradleModuleMetadataWriter.writeAttributes(), which are:
            // - Named
            // - Enum
            if (Named.class.isAssignableFrom(attribute.getType())) {
                return ((Named) get()).getName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            'keyWithNonStringValue' | NON_STRING_VALUE      | OTHER_VALUE      | false
            'keyWithNonStringValue' | NON_STRING_VALUE      | null             | false
        }
    
        def "replaceAll() uses equals for primitive wrappers and Strings"() {
            def map = getMapUnderTestToWrite(intValue: 100500, stringValue: "value")
            when:
            map.replaceAll { k, v ->
                switch (k) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            when:
            render optionalOnPrimitive {
                type('Person').property('age')
                primitive(int.class)
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'Person' property 'age' of type int shouldn't be annotated with @Optional.
    
    Reason: Properties of primitive type cannot be optional.
    
    Possible solutions:
      1. Remove the @Optional annotation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy

            when:
            def result = instantiator.newInstance(HasInjectConstructor, 12)
    
            then:
            result.param1 == "string"
            result.param2 == 12
        }
    
        def "unboxes primitive types"() {
            when:
            def result = instantiator.newInstance(AcceptsPrimitiveTypes, 12, true)
    
            then:
            result.param1 == 12
            result.param2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 04:41:06 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    - Property 'thing' is not valid: it must both have an abstract getter and a setter"""
        }
    
        def "allows 'is' as a prefix for getter on non primitive Boolean in #type"() {
            assumeTrue('This test requires bundled Groovy 3', VersionNumber.parse(GroovySystem.version).major == 3)
            def bindings = extract(BoxedBoolean)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

        public fun KaCallableSymbol.getDispatchReceiverType(): KaType? =
            withValidityAssertion { analysisSession.typeProvider.getDispatchReceiverType(this) }
    
        /**
         * If provided [KaType] is a primitive type array or [Array], returns the type of the array's elements. Otherwise, returns null.
         */
        public fun KaType.getArrayElementType(): KaType? =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/ops.h

    };
    
    /// Represents a tensor value that can be used as an operand to an Operation.
    class Input {
     public:
      /// Initializer enables constructing an Input object from various kinds of C++
      /// constants such as simple primitive constants and nested initializer lists
      /// representing a multi-dimensional array. Initializer constructors are all
      /// templates, so the aforementioned kinds of C++ constants can be used to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Stats.java

     *
     * <ul>
     *   <li>If all the values you want to summarize are already known, use the appropriate {@code
     *       Stats.of} factory method below. Primitive arrays, iterables and iterators of any kind of
     *       {@code Number}, and primitive varargs are supported.
     *   <li>Or, to avoid storing up all the data first, create a {@link StatsAccumulator} instance,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top