Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for expected_outputs (0.21 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/cc/tools/freeze_saved_model_test.cc

      // SignatureDef.
      SavedModelBundle saved_model_bundle;
      std::unordered_set<string> expected_inputs = {"input0:0", "input1:0"};
      std::unordered_set<string> expected_outputs = {"output0:0", "output1:0"};
      SignatureDef signature_def =
          BuildSignatureDef(expected_inputs, expected_outputs);
      AddSignatureDefToSavedModelBundle(signature_def, "signature_def",
                                        &saved_model_bundle);
      GraphDef frozen_graph_def;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/components/internal/SourceSetRendererTest.groovy

            when:
            renderer.render(languageSourceSet, builder)
    
            then:
            expectedOutputs.each {
                output.value.contains it
            }
            where:
            includes                    | excludes                   | expectedOutputs
            ["**/*.java"]               | ["**/gen/**"]              | ["includes: **/*.java", "excludes: **/gen/**"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 08 05:52:01 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/preemption/preemption_test.go

    		} else if !podListEqual(r.expectedOutput, outputPods) {
    			t.Errorf("getPodsToPreempt expected %v but got %v during the %s test.", r.expectedOutput, outputPods, r.testName)
    		}
    	}
    }
    
    func TestAdmissionRequirementsDistance(t *testing.T) {
    	type testRun struct {
    		testName       string
    		requirements   admissionRequirementList
    		inputPod       *v1.Pod
    		expectedOutput float64
    	}
    	allPods := getTestPods()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 10:04:08 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top