Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for expected_dx (0.14 sec)

  1. tensorflow/c/eager/gradient_checker_test.cc

        ASSERT_EQ(errors::OK, s.code()) << s.message();
        y.reset(y_raw);
      }
    
      float expected_dx[1] = {7.0f};
      ASSERT_NO_FATAL_FAILURE(CompareNumericalAndManualGradients(
          MulModel, ctx_.get(), {x.get(), y.get()}, 0, expected_dx, 1,
          UseFunction()));
    }
    
    #ifdef PLATFORM_GOOGLE
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, GradientCheckerTest,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. internal/hash/reader.go

    func (r *Reader) SetExpectedMin(expectedMin int64) {
    	r.expectedMin = expectedMin
    }
    
    // SetExpectedMax set expected max data expected from reader
    func (r *Reader) SetExpectedMax(expectedMax int64) {
    	r.expectedMax = expectedMax
    }
    
    // AddChecksum will add checksum checks as specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. cmd/object-api-putobject_test.go

    			expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(nilBytes)},
    		},
    		25: {
    			bucketName: bucket, objName: object, inputData: fiveMBBytes, inputMeta: invalidMD5Header, inputDataSize: int64(len(fiveMBBytes)), expectedMd5: getMD5Hash(fiveMBBytes),
    			expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(fiveMBBytes)},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
            double z = a.accumulateAndGet(y, Double::max);
            double expectedMax = max(x, y);
            assertBitEquals(expectedMax, z);
            assertBitEquals(expectedMax, a.get());
          }
        }
      }
    
      /** getAndUpdate with sum stores sum of given value to current, and returns previous value */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          for (double x : VALUES) {
            for (double y : VALUES) {
              aa.set(i, x);
              double z = aa.accumulateAndGet(i, y, Double::max);
              double expectedMax = max(x, y);
              assertBitEquals(expectedMax, z);
              assertBitEquals(expectedMax, aa.get(i));
            }
          }
        }
      }
    
      /** getAndUpdate adds given value to current, and returns previous value */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    		inputReaderData string
    		inputMd5        string
    		inputSHA256     string
    		inputDataSize   int64
    		// flag indicating whether the test should pass.
    		shouldPass bool
    		// expected error output.
    		expectedMd5   string
    		expectedError error
    	}{
    		// Test case  1-4.
    		// Cases with invalid bucket name.
    		{bucketName: ".test", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: .test")},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
Back to top