Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for maximum (0.54 sec)

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

      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)
  2. .github/ISSUE_TEMPLATE/tflite-other.md

        required: true
    
    -   type: textarea id: code-to-reproduce attributes: label: Standalone code to
        reproduce the issue description: Provide a reproducible test case that is
        the bare minimum necessary to generate the problem. If possible, please
        share a link to Colab/Jupyter/any notebook. placeholder: Tell us what you
        see! value: render: shell validations: required: true
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Dec 29 22:28:29 GMT 2022
    - 3.4K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        }
        lru_list_.erase(it->second.lru_iterator);
        cache_.erase(it);
        return true;
      }
    
      /// The maximum age of entries in the cache, in seconds. A value of 0 means
      /// that no entry is ever placed in the cache.
      const uint64_t max_age_;
    
      /// The maximum number of entries in the cache. A value of 0 means there is no
      /// limit on entry count.
      const size_t max_entries_;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// The size of the blocks stored in the LRU cache, as well as the size of the
      /// reads from the underlying filesystem.
      const size_t block_size_;
      /// The maximum number of bytes (sum of block sizes) allowed in the LRU cache.
      const size_t max_bytes_;
      /// The maximum staleness of any block in the LRU cache, in seconds.
      const uint64_t max_staleness_;
      /// The callback to read a block from the underlying filesystem.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    
    // Checks that all schemes provided by a plugin are valid.
    // TODO(b/139060984): More validation could be done here, based on supported
    // charset, maximum length, etc. Punting it for later.
    static Status ValidateScheme(const char* scheme) {
      if (scheme == nullptr)
        return errors::InvalidArgument(
            "Attempted to register filesystem with `nullptr` URI scheme");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.h

    // executed in sequence. Assigning nodes to different executors allows executing
    // nodes in parallel.
    // in_flight_nodes_limit: when is_async is true, this value controls the
    // maximum number of in flight async nodes. Enqueuing of additional async ops
    // after the limit is reached blocks until some inflight nodes finishes.
    // The effect is bounding the memory held by inflight TensorHandles that are
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. configure.py

        default_cc_opt_flags = '/arch:AVX'
      else:
        # On all other platforms, no longer use `-march=native` as this can result
        # in instructions that are too modern being generated. Users that want
        # maximum performance should compile TF in their environment and can pass
        # `-march=native` there.
        # See https://github.com/tensorflow/tensorflow/issues/45744 and duplicates
        default_cc_opt_flags = '-Wno-sign-compare'
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    // blocks read from GCS. Specified in MB.
    constexpr char kMaxCacheSize[] = "GCS_READ_CACHE_MAX_SIZE_MB";
    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";
    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)
  9. .github/ISSUE_TEMPLATE/tflite-in-play-services.md

    - Google Play Services version
      (`Settings` > `Apps` > `Google Play Services` > `App details`):
    
    **Standalone code to reproduce the issue**
    Provide a reproducible test case that is the bare minimum necessary to generate
    the problem. If possible, please share a link to or attach code demonstrating
    the problem.
    
    **Any other info / logs**
    Include any logs or source code that would be helpful to diagnose the problem.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 880 bytes
    - Viewed (0)
  10. .bazelrc

    # Build with the AVX instruction set when on macOS x86
    build:release_macos_x86 --config=avx_linux
    build:release_macos_x86 --cpu=darwin
    # Target Catalina as the minimum compatible OS version
    build:release_macos_x86 --macos_minimum_os=10.15
    build:release_macos_x86 --action_env MACOSX_DEPLOYMENT_TARGET=10.15
    
    # Build configs for macOS Arm64
    build:release_macos_arm64 --config=release_macos_base
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
Back to top