Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for do (2.86 sec)

  1. tensorflow/c/c_op_requires.h

    // to the macros in tensorflow/core/framework/op_requires.h. This is provided
    // for plugin OpKernel developer's convenience.
    
    #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \
      do {                                                            \
        ::tensorflow::Status _s(__VA_ARGS__);                         \
        if (!TF_PREDICT_TRUE(_s.ok())) {                              \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. .github/workflows/arm-ci.yml

    name: ARM CI
    
    on:
      push:
        branches:
          - master
          - r2.**
    permissions:
      contents: read
    
    jobs:
      build:
        # Don't do this in forks, and if labeled, only for 'kokoro:force-run'
        if: github.repository == 'tensorflow/tensorflow' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'kokoro:force-run'))
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      }
      return status.status;
    }
    
    TEST(RamFileBlockCacheTest, IsCacheEnabled) {
      auto fetcher = [](const string& filename, size_t offset, size_t n,
                        char* buffer, TF_Status* status) -> int64_t {
        // Do nothing.
        TF_SetStatus(status, TF_OK, "");
        return 0;
      };
      tf_gcs_filesystem::RamFileBlockCache cache1(0, 0, 0, fetcher);
      tf_gcs_filesystem::RamFileBlockCache cache2(16, 0, 0, fetcher);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      new_entry->lra_iterator = lra_list_.begin();
      new_entry->timestamp = timer_seconds_();
      block_map_.emplace(std::make_pair(key, new_entry));
      return new_entry;
    }
    
    // Remove blocks from the cache until we do not exceed our maximum size.
    void RamFileBlockCache::Trim() {
      while (!lru_list_.empty() && cache_size_ > max_bytes_) {
        RemoveBlock(block_map_.find(lru_list_.back()));
      }
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # "pip tests" run a similar suite of tests the "nonpip" tests, but do something
    # odd to attempt to validate the quality of the pip package. The wheel is
    # installed into a virtual environment, and then that venv is used to run all
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      TF_FilesystemPluginInfo info;
      memset(&info, 0, sizeof(info));
      auto TF_InitPlugin =
          reinterpret_cast<int (*)(TF_FilesystemPluginInfo*)>(dso_symbol);
      TF_InitPlugin(&info);
    
      // Step 4: Do the actual registration
      return filesystem_registration::RegisterFilesystemPluginImpl(&info);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:build_pip_package" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    @test "Libtensorflow generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow:libtensorflow.so" \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_macros_internal.h

    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
        if (STRUCT_OBJ.struct_size == 0) {                                    \
          return tensorflow::Status(absl::StatusCode::kFailedPrecondition,    \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. .github/workflows/update-nightly.yml

      schedule:
        - cron: 0 4 * * *  # 4am UTC is 9pm PDT and 8pm PST
    name: Set nightly branch to master HEAD
    
    permissions: {}
    
    jobs:
      master-to-nightly:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
        - uses: zofrex/mirror-branch@a8809f0b42f9dfe9b2c5c2162a46327c23d15266 # v1.0.3
          name: Set nightly branch to master HEAD
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 16:45:56 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. ci/official/utilities/setup_macos.sh

      # Install the necessary Python, unless it's already present
      pyenv install -s "$TFCI_PYTHON_VERSION"
      pyenv local "$TFCI_PYTHON_VERSION"
      # Do a sanity check to make sure that we using the correct Python version
      python --version
    fi
    
    # TFCI Mac VM images do not have twine installed by default so we need to
    # install it manually. We use Twine in nightly builds to upload Python packages
    # to PyPI.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top