Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 563 for Inference (0.07 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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        public static Set<Coordinates> computeAllArtifactCoordinates(UpgradeContext context, Map<Path, Document> pomMap) {
            Set<Coordinates> coordinates = new HashSet<>();
    
            context.info("Computing artifacts for inference from " + pomMap.size() + " POM(s)...");
    
            // Extract artifact from all POMs in the project
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ### 2. Code
    
    Provide code to help us reproduce your issues using one of the following options:
    
    #### Option A: Reference colab notebooks
    
    1)  Reference [TensorFlow Model Colab](https://colab.research.google.com/gist/ymodak/e96a4270b953201d5362c61c1e8b78aa/tensorflow-datasets.ipynb?authuser=1): Demonstrate how to build your TF model.
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            }
    
            return false;
        }
    
        /**
         * Checks if a model version is eligible for inference optimizations.
         * Models 4.0.0+ are eligible (4.0.0 has limited inference, 4.1.0+ has full inference).
         *
         * @param modelVersion the model version to check
         * @return true if eligible for inference
         */
        public static boolean isEligibleForInference(String modelVersion) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         *
         * @return an {@link Optional} containing the directory path, or empty if not specified
         */
        @Nonnull
        Optional<String> directory();
    
        /**
         * Should use inference when upgrading (remove redundant information).
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        @Nonnull
        Optional<Boolean> infer();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.PluginUpgradeStrategy} - Upgrades plugin versions for Maven 4 compatibility</li>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.InferenceStrategy} - Applies Maven 4.1.0+ inference optimizations</li>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.CompatibilityFixStrategy} - Fixes Maven 4 compatibility issues</li>
     * </ul>
     *
     * <h3>Utility Classes</h3>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. 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)
Back to top