Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,290 for checkEq (0.22 sec)

  1. cmd/dummy-data-generator_test.go

    		b, _ := io.ReadAll(r)
    		return string(b)
    	}
    	checkEq := func(a, b string) {
    		if a != b {
    			t.Fatalf("Unexpected equality failure")
    		}
    	}
    
    	checkEq(readAll(NewDummyDataGen(0, 0)), "")
    
    	checkEq(readAll(NewDummyDataGen(10, 0)), readAll(NewDummyDataGen(10, int64(len(alphabets)))))
    
    	checkEq(readAll(NewDummyDataGen(100, 0)), readAll(NewDummyDataGen(50, 0))+readAll(NewDummyDataGen(50, 50)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_GRADIENT_CHECKER_H_
    #define TENSORFLOW_C_EAGER_GRADIENT_CHECKER_H_
    
    #include <memory>
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    
    namespace tensorflow {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradient_checker_test.cc

    }
    
    // TODO(vnvo2409): Add more tests from `python/ops/gradient_checker_v2_test.py`.
    // These tests should not be confused with `[*]_grad_test` which compare the
    // result of `gradient_checker` and `[*]_grad`. The tests here test the
    // functionality of `gradient_checker` by comparing the result with expected
    // manual user-provided gradients.
    class GradientCheckerTest
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradient_checker.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/c/eager/gradient_checker.h"
    
    #include <memory>
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/tf_tensor.h"
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. bin/check_samples.sh

    ROOTDIR=$SCRIPTPATH/..
    cd "$ROOTDIR" || exit
    
    # rely on go build cache
    ISTIOCTL=bin/istioctl
    go build -o $ISTIOCTL ./istioctl/cmd/istioctl
    
    for f in samples/**/*.yaml; do
      if grep -q -e "{{" "$f" ; then
        echo "Skipping check for helm template $f"
        continue
      else
        echo "Validating $f..."
      $ISTIOCTL validate -x \
        -f "$f"
      fi
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Nov 04 01:54:50 GMT 2023
    - 1010 bytes
    - Viewed (0)
  6. ci/official/utilities/code_check_changed_files.bats

    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check formatting for C++ files" {
        skip "clang-format doesn't match internal clang-format checker"
        echo "clang-format is recommended. Here are the suggested changes:"
        echo "============================="
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. schema/constraint_test.go

    		"name_checker": {
    			Name:       "name_checker",
    			Constraint: "name <> 'jinzhu'",
    		},
    		"chk_user_checks_name2": {
    			Name:       "chk_user_checks_name2",
    			Constraint: "name <> 'jinzhu'",
    		},
    		"chk_user_checks_name3": {
    			Name:       "chk_user_checks_name3",
    			Constraint: "name <> 'jinzhu'",
    		},
    	}
    
    	checks := user.ParseCheckConstraints()
    
    	for k, result := range results {
    		v, ok := checks[k]
    		if !ok {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check formatting for C++ files" {
        skip "clang-format doesn't match internal clang-format checker"
        echo "clang-format is recommended. Here are the suggested changes:"
        echo "============================="
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. .github/workflows/check-bad-merge.yml

    # See .github/workflows/CheckBadMerge.groovy for explanation
    name: Check bad merge commit
    on:
      pull_request:
        types:
         - opened
         - synchronize
    
    permissions: {}
    
    jobs:
      check_pr_commits:
        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 11
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
Back to top