Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for Inference (0.9 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.ModelVersions.MODEL_VERSION_4_1_0;
    
    /**
     * Strategy for applying Maven inference optimizations.
     * For 4.0.0 models: applies limited inference (parent-related only).
     * For 4.1.0+ models: applies full inference optimizations.
     * Removes redundant information that can be inferred by Maven during model building.
     */
    @Named
    @Singleton
    @Priority(30)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * If a plugin version is defined via a property, the property value is updated instead.
     *
     * <h3>Inference Optimizations (Optional)</h3>
     * When {@code --infer} option is enabled, applies inference optimizations to remove redundant information:
     *
     * <h4>Limited Inference for 4.0.0 Models (Maven 3.x POMs)</h4>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Unit tests for the {@link InferenceStrategy} class.
     * Tests Maven 4.1.0+ inference optimizations including dependency and parent inference.
     */
    @DisplayName("InferenceStrategy")
    class InferenceStrategyTest {
    
        private InferenceStrategy strategy;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
        }
    
        @Nested
        @DisplayName("Inference Eligibility")
        class InferenceEligibilityTests {
    
            @ParameterizedTest(name = "for model version {0}")
            @ValueSource(strings = {"4.0.0", "4.1.0"})
            @DisplayName("should determine inference eligibility correctly")
            void shouldDetermineInferenceEligibilityCorrectly(String modelVersion) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. internal/s3select/sql/value.go

    func (v *Value) InferBytesType() (err error) {
    	b, ok := v.ToBytes()
    	if !ok {
    		return fmt.Errorf("InferByteType: Input is not bytes, but %v", v.GetTypeString())
    	}
    
    	// Check for numeric inference
    	if x, ok := v.bytesToInt(); ok {
    		v.setInt(x)
    		return nil
    	}
    	if x, ok := v.bytesToFloat(); ok {
    		v.setFloat(x)
    		return nil
    	}
    	if x, ok := v.bytesToBool(); ok {
    		v.setBool(x)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    // `shape_inference::InferenceContext` constructor. Note the following:
    //   - The inputs of the `op` are not used for shape inference. So, it is
    //     OK to not have the inputs properly set in `op`. See `input_tensors`
    //     if you want shape inference to consider the input tensors of the
    //     op for shape inference.
    //   - The types need not be set in `input_shapes` as it is not used.
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Lists.java

       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() 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> ArrayList<E> newArrayList() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/GeneralRange.java

                  getLowerEndpoint(),
                  getLowerBoundType());
          result.reverse = this;
          return this.reverse = result;
        }
        return result;
      }
    
      // This method helps J2KT's type inference.
      private static <T extends @Nullable Object> Comparator<T> reverseComparator(
          Comparator<T> comparator) {
        return Ordering.from(comparator).reverse();
      }
    
      @Override
      public String toString() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental_test.cc

      }
    
      ~ShapeInferenceTest() override {
        TFE_DeleteContextOptions(tfe_context_options_);
        TFE_DeleteContext(tfe_context_);
        TF_DeleteStatus(status_);
      }
    
      // Checks the expected result of shape inference for the given `op`.
      void CheckOutputShapes(
          TFE_Op* op,
          const std::vector<absl::optional<std::vector<int64_t>>>& input_shapes_vec,
          const std::vector<TF_Tensor*>& input_tensors,
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/GeneralRange.java

                  getLowerEndpoint(),
                  getLowerBoundType());
          result.reverse = this;
          return this.reverse = result;
        }
        return result;
      }
    
      // This method helps J2KT's type inference.
      private static <T extends @Nullable Object> Comparator<T> reverseComparator(
          Comparator<T> comparator) {
        return Ordering.from(comparator).reverse();
      }
    
      @Override
      public String toString() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top