Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for expected_outputs (0.29 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. cmd/kubeadm/app/cmd/phases/reset/unmount_linux_test.go

    func TestFlagsToInt(t *testing.T) {
    
    	tests := []struct {
    		name           string
    		input          []string
    		expectedOutput int
    	}{
    		{
    			name:           "nil input",
    			input:          nil,
    			expectedOutput: 0,
    		},
    		{
    			name:           "no flags",
    			input:          []string{},
    			expectedOutput: 0,
    		},
    		{
    			name: "all flags",
    			input: []string{
    				kubeadmapi.UnmountFlagMNTForce,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy

            runWork()
    
            then: 'it runs as expected'
            outputContains expectedOutput
    
            when: 'task runs for the 2nd time'
            runWork()
    
            then: 'it is skipped because UP-TO-DATE'
            result.assertTaskSkipped ':runWork'
            outputContains ':runWork UP-TO-DATE'
    
            and:
            outputDoesNotContain expectedOutput
    
            when: 'the outputs are deleted'
            file('build').deleteDir()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftModifyExpectedOutputApp.groovy

        final List<IncrementalElement.Transform> incrementalChanges = [
            preserve(greeter), preserve(sum), modify(main, alternateMain)]
        final String expectedOutput = main.expectedOutput
        final String expectedAlternateOutput = alternateMain.expectedOutput
        final String moduleName = "App"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top