Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for inference (0.07 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testWhere() {
        assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class));
        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    //   example, one cannot use the output of "switch" node as input.
    // - `inputs` and `outputs` cannot have reference types. Reference types are
    //   not exposed through C API and are being replaced with Resources. We support
    //   reference types inside function's body to support legacy code. Do not
    //   use them in new code.
    // - Every node in the function's body must have all of its inputs (including
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testWhere() {
        assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class));
        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test.cc

      CHECK(tensorflow::unwrap(concatOp)->OpDef());
      TFE_OpAddInput(concatOp, inputs[0], status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      EXPECT_FALSE(tensorflow::unwrap(concatOp)->OpDef())
          << "Inference context is still present";
      TFE_OpAddInput(concatOp, inputs[1], status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      tensorflow::AttrValueMap attr_values = ExtractAttrs(concatOp);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    	// for each entry in names and then dereference the type we
    	// learn for __cgo__i.
    	var b bytes.Buffer
    	b.WriteString(builtinProlog)
    	b.WriteString(f.Preamble)
    	b.WriteString("#line 1 \"cgo-dwarf-inference\"\n")
    	for i, n := range names {
    		fmt.Fprintf(&b, "__typeof__(%s) *__cgo__%d;\n", n.C, i)
    		if n.Kind == "iconst" {
    			fmt.Fprintf(&b, "enum { __cgo_enum__%d = %s };\n", i, n.C)
    		}
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

      /*
       * We avoid using a method reference or lambda here for now:
       *
       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
       *   method-reference linking tries to look up the system classloader, and it fails because there
       *   isn't one yet.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * the type of the concrete implementation.
         */
        abstract S self();
    
        /** Drains the reference queues used by this segment, if any. */
        @GuardedBy("this")
        void maybeDrainReferenceQueues() {}
    
        /** Clears the reference queues used by this segment, if any. */
        void maybeClearReferenceQueues() {}
    
        /** Sets the value of the given {@code entry}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * the type of the concrete implementation.
         */
        abstract S self();
    
        /** Drains the reference queues used by this segment, if any. */
        @GuardedBy("this")
        void maybeDrainReferenceQueues() {}
    
        /** Clears the reference queues used by this segment, if any. */
        void maybeClearReferenceQueues() {}
    
        /** Sets the value of the given {@code entry}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

      /*
       * We avoid using a method reference or lambda here for now:
       *
       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
       *   method-reference linking tries to look up the system classloader, and it fails because there
       *   isn't one yet.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top