Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Access (0.83 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

      /// limit on entry count.
      const size_t max_entries_;
    
      /// The callback to read timestamps.
      std::function<uint64_t()> timer_seconds_;
    
      /// Guards access to the cache and the LRU list.
      absl::Mutex mu_;
    
      /// The cache (a map from string key to Entry).
      std::map<std::string, Entry> cache_ ABSL_GUARDED_BY(mu_);
    
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

                      std::string* bucket, std::string* object, TF_Status* status);
    
    namespace tf_random_access_file {
    void Cleanup(TF_RandomAccessFile* file);
    int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
                 char* buffer, TF_Status* status);
    }  // namespace tf_random_access_file
    
    namespace tf_writable_file {
    void Cleanup(TF_WritableFile* file);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.h

          std::function<void(void*)> plugin_memory_free)
          : filesystem_(std::move(filesystem)),
            ops_(std::move(filesystem_ops)),
            random_access_file_ops_(std::move(random_access_file_ops)),
            writable_file_ops_(std::move(writable_file_ops)),
            read_only_memory_region_ops_(std::move(read_only_memory_region_ops)),
            plugin_memory_allocate_(std::move(plugin_memory_allocate)),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ops->filesystem_ops_api = TF_FILESYSTEM_OPS_API;
      ops->filesystem_ops_size = TF_FILESYSTEM_OPS_SIZE;
      ops->random_access_file_ops_abi = TF_RANDOM_ACCESS_FILE_OPS_ABI;
      ops->random_access_file_ops_api = TF_RANDOM_ACCESS_FILE_OPS_API;
      ops->random_access_file_ops_size = TF_RANDOM_ACCESS_FILE_OPS_SIZE;
      ops->writable_file_ops_abi = TF_WRITABLE_FILE_OPS_ABI;
      ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

    #include "tensorflow/c/tf_status.h"
    
    namespace tf_gcs_filesystem {
    
    /// \brief An LRU block cache of file contents, keyed by {filename, offset}.
    ///
    /// This class should be shared by read-only random access files on a remote
    /// filesystem (e.g. GCS).
    class RamFileBlockCache {
     public:
      /// The callback executed when a block is not found in the cache, and needs to
    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)
  6. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // ---------------------  Coordination service  --------------------------------
    // Returns a not owning pointer to the coordination service agent, which is
    // opaque to plugin. Plugin OpKernels need to use the accompanying C APIs to
    // access coordination service functionalities.
    TF_CAPI_EXPORT extern TF_CoordinationServiceAgent*
    TF_GetCoordinationServiceAgent(TF_OpKernelContext* ctx);
    
    // Returns true if the coordination service agent has been initialized.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/c/env.h

    // Pass "library_filename" to a platform-specific mechanism for dynamically
    // loading a library. The rules for determining the exact location of the
    // library are platform-specific and are not documented here.
    //
    // On success, place OK in status and return the newly created library handle.
    // Otherwise returns nullptr and set error status.
    TF_CAPI_EXPORT extern void* TF_LoadSharedLibrary(const char* library_filename,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // * TF_Status holds error information.  It is an object type
    //   and therefore is passed around as a pointer to an opaque
    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    //   and fills it with error info on failure.
    // * unsigned char is used for booleans (instead of the 'bool' type).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  9. tensorflow/c/c_api_experimental.h

    // (e.g. swift) cannot then call free() on the returned pointer.
    TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func,
                                                       size_t* len);
    
    // On success, dequeues a tensor from a TF-managed FifoQueue given by
    // `tensor_id`, associated with `session`. There must be a graph node named
    // "fifo_queue_dequeue_<tensor_id>", to be executed by this API call.
    
    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)
  10. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern const char* TFE_TensorHandleBackingDeviceName(
        TFE_TensorHandle* h, TF_Status* status);
    
    // Return a pointer to a new TFE_TensorHandle that shares the underlying tensor
    // with `h`. On success, `status` is set to OK. On failure, `status` reflects
    // the error and a nullptr is returned.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_TensorHandleCopySharingTensor(
        TFE_TensorHandle* h, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top