Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for expected_outputs (0.39 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        # with regex '.*invalid_function_name.*' did not match the quantizable unit.
        self.assertAllClose(new_outputs, expected_outputs, rtol=0.04)
        self.assertNotAllClose(new_outputs, expected_outputs, 1e-7)
    
        # Due to other meta data, the compression is not exactly 1/4.
        self.assertLess(
            testing.get_size_ratio(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        self.assertCountEqual(
            converted_model.signatures._signatures.keys(), {signature_key}
        )
    
        expected_outputs = model.matmul(**model_inputs)
        got_outputs = converted_model.signatures[signature_key](**model_inputs)
        self.assertAllClose(expected_outputs, got_outputs, atol=1e-1)
    
        output_loader = saved_model_loader.SavedModelLoader(
            self._output_saved_model_path
        )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/console/AbstractExecOutputIntegrationTest.groovy

        private static final String EXPECTED_OUTPUT = "Hello, World!"
        private static final String EXPECTED_ERROR = "Goodbye, World!"
    
        @UnsupportedWithConfigurationCache(because = "Task.getProject() during execution")
        def "Project.javaexec output is grouped with its task output"() {
            given:
            generateMainJavaFileEchoing(EXPECTED_OUTPUT, EXPECTED_ERROR)
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java

        public ExecutionResult assertHasErrorOutput(String expectedOutput) {
            assertContentContains(getOutput(), expectedOutput, "Build output");
            return this;
        }
    
        @Override
        public boolean hasErrorOutput(String expectedOutput) {
            return getOutput().contains(expectedOutput);
        }
    
        @Override
        public ExecutionResult assertOutputEquals(String expectedOutput, boolean ignoreExtraLines, boolean ignoreLineOrder) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         *
         * @param expectedOutput The expected log message, with line endings normalized to a newline character.
         */
        boolean hasErrorOutput(String expectedOutput);
    
        ExecutionResult assertOutputEquals(String expectedOutput, boolean ignoreExtraLines, boolean ignoreLineOrder);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            releaseBinary.assertExists()
            releaseBinary.exec().out == app.withFeatureEnabled().expectedOutput
            installation("build/install/main/release").exec().out == app.withFeatureEnabled().expectedOutput
            releaseBinary.assertHasStrippedDebugSymbolsFor(['main.o', 'greeter.o'])
    
            succeeds "assembleDebug"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (1)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

        }
    
        @Override
        public boolean hasErrorOutput(String expectedOutput) {
            return getError().contains(expectedOutput);
        }
    
        @Override
        public ExecutionResult assertHasErrorOutput(String expectedOutput) {
            return assertContentContains(errorContent.withNormalizedEol(), expectedOutput, "Error output");
        }
    
        @Override
        public String getError() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload_test.go

    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception: %v", fErr)
    		}
    	}
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    		assert.Equal(t, c.expectedOutput, output)
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    }
    
    func TestWorkloadEntryConfigureInvalidArgs(t *testing.T) {
    	cases := []testcase{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. istioctl/pkg/internaldebug/internal-debug_test.go

    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy

                    }
                }
            """
    
            when:
            executer.expectDeprecationWarning(expectedOutput)
            succeeds('compileJava')
    
            then:
            def actualOutput = errorsShouldAppearOnStdout() ? result.groupedOutput.task(':compileJava').output : result.getError()
            actualOutput.contains(expectedOutput)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top