Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for NeXT (0.13 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      Key begin = std::make_pair(filename, 0);
      auto it = block_map_.lower_bound(begin);
      while (it != block_map_.end() && it->first.first == filename) {
        auto next = std::next(it);
        RemoveBlock(it);
        it = next;
      }
    }
    
    void RamFileBlockCache::RemoveBlock(BlockMap::iterator entry) {
      // This signals that the block is removed, and should not be inadvertently
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      calls.push_back(0);
      TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out));
      // Element at 2 * block_size is still in cache, and this read should update
      // its position in the LRU list so it doesn't get evicted by the next read.
      TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
      // Element at block_size was evicted.  Reading this element will also cause
      // the LRU element (at 0) to be evicted.
      calls.push_back(block_size);
    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)
  3. tensorflow/c/BUILD

            ":tf_buffer_internal",
            ":tf_status",
            ":tf_status_helper",
            ":tf_tensor_internal",
            "//tensorflow/core/common_runtime/next_pluggable_device/c:tf_rendezvous_c_api",
            "//tensorflow/core/common_runtime/next_pluggable_device/c:tf_rendezvous_c_api_internal",
            "//tensorflow/core/platform:notification",
            "@com_google_absl//absl/status",
            "@com_google_absl//absl/strings",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental_test.cc

      // Load the library.
      TF_Status* status = TF_NewStatus();
      string lib_path =
          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
              "tensorflow", "core", "common_runtime", "next_pluggable_device", "c",
              "test_next_pluggable_device_plugin.so"));
      TF_Library* lib = TF_LoadPluggableDeviceLibrary(lib_path.c_str(), status);
      TF_Code code = TF_GetCode(status);
      string status_msg(TF_Message(status));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/experimental/next_pluggable_device/c_api.h"
    
    #include <cstdint>
    #include <cstdlib>
    #include <memory>
    #include <string>
    #include <string_view>
    #include <utility>
    #include <vector>
    
    #include "absl/status/status.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_experimental.h

    // When `enable` is true, set
    // tensorflow.ConfigProto.OptimizerOptions.global_jit_level to ON_1, and also
    // set XLA flag values to prepare for XLA compilation. Otherwise set
    // global_jit_level to OFF.
    //
    // This and the next API are syntax sugar over TF_SetConfig(), and is used by
    // clients that cannot read/write the tensorflow.ConfigProto proto.
    // TODO: Migrate to TF_CreateConfig() below.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. ci/official/utilities/extract_resultstore_links.py

          url_lines['end'] = i
        else:
          result_store_links[current_url]['next_url'] = i
          url_lines['start'] = i
        current_url = url
    
      previous_end_line = None
      for url, lines in result_store_links.items():
        lines['status'] = InvokeStatus.passed  # default to passed
        start_line = lines['start']
        end_line = lines.get('end', lines.get('next_url', len(log_lines))) - 1
        k = end_line
        while k > start_line:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

      bool IsPersistent() const { return persistent_; }
    
     private:
      TensorTape tensor_tape_;
      OpTape<BackwardFunction, TapeTensor> op_tape_;
      int64_t next_op_id_{0};
    
      // Map from tensor id to number of remaining usages (i.e. how many entries in
      // the tape refer to it); to aid in tape garbage collection.
      std::unordered_map<int64_t, int64_t> tensor_usage_;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    constexpr size_t kDefaultMaxCacheSize = 0;
    // The environment variable that overrides the maximum staleness of cached file
    // contents. Once any block of a file reaches this staleness, all cached blocks
    // will be evicted on the next read.
    constexpr char kMaxStaleness[] = "GCS_READ_CACHE_MAX_STALENESS";
    constexpr uint64_t kDefaultMaxStaleness = 0;
    
    constexpr char kStatCacheMaxAge[] = "GCS_STAT_CACHE_MAX_AGE";
    constexpr uint64_t kStatCacheDefaultMaxAge = 5;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

     char *
     STRNCAT (char *s1, const char *s2, size_t n)
     {
    -  char c;
       char *s = s1;
     
       /* Find the end of S1.  */
    -  do
    -    c = *s1++;
    -  while (c != '\0');
    -
    -  /* Make S1 point before next character, so we can increment
    -     it while memory is read (wins on pipelined cpus).  */
    -  s1 -= 2;
    +  s1 += strlen (s1);
     
    -  if (n >= 4)
    -    {
    -      size_t n4 = n >> 2;
    -      do
    -	{
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
Back to top