Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for expected_outputs (0.09 sec)

  1. 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: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. 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: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  3. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      private static void testReverse(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck_test.go

    	version        string
    	revision       string
    	expectedOutput diag.Messages
    	expectedError  error
    }
    
    func Test_checkFromVersion(t *testing.T) {
    	cases := []testCase{
    		{
    			revision:       "canary",
    			version:        "1.21",
    			expectedOutput: diag.Messages{},
    			expectedError:  nil,
    		},
    		{
    			revision:       "canary",
    			version:        "XX",
    			expectedOutput: nil,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      private static void testReverse(char[] input, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      private static void testReverse(double[] input, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          double[] input, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      private static void testReverse(float[] input, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          float[] input, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      private static void testReverse(int[] input, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(int[] input, int fromIndex, int toIndex, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      private static void testReverse(double[] input, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          double[] input, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top