Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 352 for CONSTRUCTOR (0.12 sec)

  1. tensorflow/cc/experimental/libtf/value.h

      /// TaggedValue constructor for type FLOAT32.
      explicit TaggedValue(float f32) : type_(FLOAT32), data_(Float32(f32)) {}
      /// TaggedValue constructor for type INT64.
      explicit TaggedValue(int64_t i64) : type_(INT64), data_(Int64(i64)) {}
      /// TaggedValue constructor for type FLOAT32.
      explicit TaggedValue(Float32 f32) : type_(FLOAT32), data_(f32) {}
      /// TaggedValue constructor for type INT64.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

        include verifying that clusters have been created and have been outside
        compiled, the result is device agnostic and in TF functional dialect &
        that the device attribute exists.
      }];
    
      let constructor = "tensorflow::tf2xla::internal::CreateVerifyClusteringPass()";
    }
    
    def TPUClusterFormationPass : Pass<"tf-tpu-cluster-formation", "ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            where:
            apiElement    | jApiTypeName
            'interface'   | 'jApiClassifier'
            'method'      | 'jApiMethod'
            'field'       | 'jApiField'
            'constructor' | 'jApiConstructor'
        }
    
        def "if a type is annotated with @Incubating a new #apiElement does not require it"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy

            output.contains "name: injected"
        }
    
        def "reports rule execution failure when rule source constructor throws exception"() {
            when:
            buildScript '''
                class Rules extends RuleSource {
                    Rules() {
                        throw new RuntimeException("failing constructor")
                    }
                    @Defaults
                    void tasks(ModelMap<Task> tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy

            """
    
            expect:
            fails()
            failure.assertHasCause("Could not create an instance of type Thing.")
            failure.assertHasCause("Unable to determine constructor argument #2: missing parameter of type String, or no service of type String")
        }
    
        def "fails when non-static inner class provided"() {
            buildFile """
                class Things {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 16.9K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/scope.h

    /// Graph object to which operations are added when the new scope or its
    /// children are used by an Op constructor. The new scope also has a Status
    /// object which will be used to indicate errors by Op-constructor functions
    /// called on any child scope. The Op-constructor functions have to check the
    /// scope's status by calling the ok() method before proceeding to construct the
    /// op.
    ///
    /// Thread safety:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/ZincScalaCompilerFactory.java

            }
            if (checkingClass != null) {
                try {
                    Constructor<ClassLoaderCache> constructor = ClassLoaderCache.class.getConstructor(abstractCacheClass);
                    Object cache = checkingClass.getConstructors()[0].newInstance(COMPILER_CLASSLOADER_CACHE_SIZE);
                    COMPILER_CLASSLOADER_CACHE = constructor.newInstance(cache);
                } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                    when (val typeConstructor = unwrappedType.constructor) {
                        is NewTypeVariableConstructor -> renderTypeVariableType(typeConstructor, printer)
                        is IntersectionTypeConstructor -> renderIntersectionType(typeConstructor, printer)
                        else -> {
                            val descriptor = unwrappedType.constructor.declarationDescriptor
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                """
            ) {
    
                assertHasNoInformation()
                assertHasNoWarning()
                assertHasErrors(
                    added("Class", "Bar"),
                    added("Constructor", "Bar()"),
                    added("Class", "Bazar"),
                    added("Method", "Bazar.getEntries()"),
                    added("Method", "Bazar.valueOf(java.lang.String)"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top