Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for safety (0.19 sec)

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

    #include "tensorflow/c/tf_status.h"
    
    namespace tf_gcs_filesystem {
    
    /// \brief An LRU cache of string keys and arbitrary values, with configurable
    /// max item age (in seconds) and max entries.
    ///
    /// This class is thread safe.
    template <typename T>
    class ExpiringLRUCache {
     public:
      /// A `max_age` of 0 means that nothing is cached. A `max_entries` of 0 means
      /// that there is no limit on the number of entries in the cache (however, if
    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/ram_file_block_cache.h

      /// the LRU cache, the timestamp (seconds since epoch) at which the block
      /// was cached, a coordination lock, and state & condition variables.
      ///
      /// Thread safety:
      /// The iterator and timestamp fields should only be accessed while holding
      /// the block-cache-wide mu_ instance variable. The state variable should only
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

    #include "tensorflow/c/eager/tfe_op_internal.h"
    #include "tensorflow/c/safe_ptr.h"
    #include "tensorflow/core/framework/cancellation.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.h"
    
    namespace tensorflow {
    namespace parallel_device {
    
    using TensorHandlePtr = tensorflow::Safe_TFE_TensorHandlePtr;
    
    class ParallelTensor;
    class DeviceThread;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // * size_t is used to represent byte sizes of objects that are
    //   materialized in the address space of the calling process.
    // * int is used as an index into arrays.
    // * Deletion functions are safe to call on nullptr.
    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    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)
  5. tensorflow/c/eager/tape.h

      // (now inaccessible) corresponding JVPs, but ForwardAccumulator's destructor
      // will release remaining references.
      //
      // This method is not thread-safe (and in general ForwardAccumulator is not
      // thread-safe).
      Status Accumulate(
          const string& op_type, const std::vector<TapeTensor>& input_tensors,
          const std::vector<TapeTensor>& output_tensors,
    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)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// be used without recompilation in the widest range of TensorFlow versions.
    ///
    /// The header is divided into sections, as follows:
    ///   1. Opaque plugin private data structures and wrappers for type safety;
    ///   2. Function tables for plugin functionality;
    ///   3. Versioning metadata;
    ///   4. Plugin registration API and the DSO entry point.
    
    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    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)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

          : released_(src.is_released()), f_(src.release()) {}
    
      // Implicitly move-constructible from any compatible Cleanup<G>.
      // The source will be released as if src.release() were called.
      // A moved-from Cleanup can be safely destroyed or reassigned.
      template <typename G>
      Cleanup(Cleanup<G>&& src)  // NOLINT
          : released_(src.is_released()), f_(src.release()) {}
    
      // Assignment to a Cleanup object behaves like destroying it
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    //     TF_AddInputList
    // (2) TF_ColocateWith, TF_AddControlInput etc. do not make sense.
    // (3) Implementation detail: Avoid use of NodeBuilder/NodeDefBuilder since
    //     the additional sanity checks there seem unnecessary;
    typedef struct TFE_Op TFE_Op;
    
    TF_CAPI_EXPORT extern TFE_Op* TFE_NewOp(TFE_Context* ctx,
                                            const char* op_or_function_name,
    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