Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for expected_outputs (0.2 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/c/eager/parallel_device/parallel_device.cc

        // per-device tensors.
        OpPtr op(TFE_NewOp(context, operation_name, status));
        TFE_OpAddAttrs(op.get(), attributes);
        int expected_outputs = TFE_OpGetOutputLength(op.get(), "outputs", status);
        if (TF_GetCode(status) != TF_OK) return result;
        if (expected_outputs != parallel_device.num_underlying_devices()) {
          std::string message(absl::StrCat(
              "The parallel device ", parallel_device_name, " expected ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 29 22:05:31 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_DeleteAbstractOp(fn_op);
      for (TF_AbstractTensor* t : func_args) TF_DeleteAbstractTensor(t);
    
      ASSERT_EQ(3, TF_OutputListNumOutputs(func_outputs));
    
      float expected_outputs[3][4] = {{1.0f, 1.0f, 1.0f, 1.0f},
                                      {2.0f, 0.0f, 0.0f, 2.0f},
                                      {2.0f, 2.0f, 2.0f, 2.0f}};
    
      float result_data[4];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags_test.go

    		templateArg        string
    		expectedError      string
    		expectedParseError string
    		expectedOutput     string
    		expectNoMatch      bool
    	}{
    		{
    			name:           "valid output format also containing the template argument succeeds",
    			outputFormat:   "go-template={{ .metadata.name }}",
    			expectedOutput: "foo",
    		},
    		{
    			name:          "valid output format and no template argument results in an error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. 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)
  9. internal/amztime/iso8601_time_test.go

    	testCases := []struct {
    		date           time.Time
    		expectedOutput string
    	}{
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.940Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.901Z",
    		},
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Dec 12 18:28:30 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top