Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 103 for test1 (0.19 sec)

  1. tensorflow/c/env_test.cc

    #include "tensorflow/c/c_api.h"
    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/platform/types.h"
    
    #define ASSERT_TF_OK(x) ASSERT_EQ(TF_OK, TF_GetCode(x))
    
    TEST(TestEnv, TestDirHandling) {
      TF_StringStream* tempdirs = TF_GetLocalTempDirectories();
      const char* tempdir;
      bool found = false;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_test_util.cc

      TF_SetAttrType(desc, "T", TF_INT32);
      // Set device to CPU since there is no version of split for int32 on GPU
      // TODO(iga): Convert all these helpers and tests to use floats because
      // they are usually available on GPUs. After doing this, remove TF_SetDevice
      // call in c_api_function_test.cc
      TF_SetDevice(desc, "/cpu:0");
      *op = TF_FinishOperation(desc, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      ASSERT_NE(*op, nullptr);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  3. tensorflow/c/eager/custom_device_test.cc

    ==============================================================================*/
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "absl/strings/match.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/custom_device_testutil.h"
    #include "tensorflow/c/tf_status.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  4. .github/workflows/arm-ci-extended-cpp.yml

              ref: 'nightly'
          - name: Checkout repository
            if: ${{ github.event_name == 'push' }}
            uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
          - name: Build binary and run C++ tests
            shell: bash
            run: |
              is_nightly=0 && tf_project_name='tf_ci_ext_c' && ${{ github.event_name == 'schedule' }} && is_nightly=1 && tf_project_name='tf_nightly_ci_ext_c'
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

        ```bash
        bazel test ${flags} //tensorflow/python/saved_model:load_test --test_filter=*LoadTest.test_capture_variables*
        ```
    
        **Note:** You can add `--test_sharding_strategy=disabled` to the `flags` to
        disable the sharding so that all the test outputs are in one file. However,
        it may slow down the tests for not running in parallel and may cause the
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_remote_function_test.cc

    }
    TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) {
      // A remote input may be not ready when we start running a function. Test that
      // the function execution should wait until the remote input is ready.
      TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false,
                                        /*heavy_load_on_streaming_rpc=*/true);
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental_reader_test.cc

                           int64_t delta = 1);
    
    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. ci/official/README.md

    # Finally: Run your script of choice.
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    #   click to "Invocation Details" and find BUILD_CONFIG, which will contain a
    #   "build_file" item that indicates the script used.
    ci/official/wheel.sh
    
    # Advanced: Select specific build/test targets with "any.sh".
    # TF_ANY_TARGETS=":your/target" TF_ANY_MODE="test" ci/official/any.sh
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. ci/official/wheel_test/BUILD

    py_test(
        name = "test_import_api_packages",
        srcs = ["test_import_api_packages.py"],
        deps = ["@pypi_tensorflow//:pkg"],
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 133 bytes
    - Viewed (0)
  10. .github/workflows/arm-cd.yml

          - name: Checkout repository for releases (skipped for nightly)
            if: ${{ github.event_name == 'push' }}
            uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
          - name: Build and test pip wheel
            shell: bash
            run: |
              is_nightly=0 && tf_project_name='tensorflow_cpu_aws' && ${{ github.event_name == 'schedule' }} && is_nightly=1 && tf_project_name='tf_nightly_cpu_aws'
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Mar 05 10:24:16 GMT 2024
    - 3K bytes
    - Viewed (1)
Back to top