Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for unsafe (0.18 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // This API is for experimental usage and may be subject to change.
    TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDefWithTimeout(
        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
        int64_t init_timeout_in_ms, TF_Status* status);
    
    // This API is for experimental usage and may be subject to change.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout(
    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)
  2. 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)
  3. tensorflow/c/experimental/grappler/grappler.h

    //       versioning guarantees yet.
    //   * `void* ext` is a free-form field that can be populated by
    //     a plugin in `TP_*` structs or potential future extension points .
    //
    // Example usage:
    //
    //   /* Sample TensorFlow code below, exact implementation might differ. */
    //   // Version checking uses `struct_size`. It should be set both by core
    //   // and the plugin.
    //   TP_OptimizerRegistrationParams params{
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/c/c_api.h

    // --------------------------------------------------------------------------
    // C API for TensorFlow.
    //
    // The API leans towards simplicity and uniformity instead of convenience
    // since most usage will be by language specific wrappers.
    //
    // Conventions:
    // * We use the prefix TF_ for everything in the API.
    // * Objects are always passed around as pointers to opaque structs
    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)
  6. tensorflow/c/eager/tape.h

              }
            }
          }
          auto usage_count_it = state.tensor_usage_counts.find(id);
          if (usage_count_it == state.tensor_usage_counts.end()) {
            VLOG(1) << "Tensor " << id << " not used";
            continue;
          }
          usage_count_it->second--;
          if (usage_count_it->second > 0) {
            VLOG(1) << "Tensor " << id << " usage count " << usage_count_it->second;
            continue;
          }
    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)
  7. tensorflow/c/c_api_experimental.h

                                              TF_Status* status);
    
    // Platform specific initialization routine. Very few platforms actually require
    // this to be called.
    TF_CAPI_EXPORT void TF_InitMain(const char* usage, int* argc, char*** argv);
    
    // Platform-specific implementation to return an unused port. (This should used
    // in tests only.)
    TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void);
    
    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)
  8. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern void TFE_ContextStartStep(TFE_Context* ctx);
    
    // Ends a step. When there is no active step (that is, every started step has
    // been ended) step containers will be cleared. Note: it is not safe to call
    // TFE_ContextEndStep while ops that rely on the step container may be running.
    TF_CAPI_EXPORT extern void TFE_ContextEndStep(TFE_Context* ctx);
    
    #ifdef __cplusplus
    } /* end extern "C" */
    #endif
    
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// be accessed after state == FINISHED, and it should never be modified.
      ///
      /// In order to prevent deadlocks, never grab the block-cache-wide mu_ lock
      /// AFTER grabbing any block's mu lock. It is safe to grab mu without locking
      /// mu_.
      struct Block {
        /// The block data.
        std::vector<char> data;
        /// A list iterator pointing to the block's position in the LRU list.
    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)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// Returns number of bytes read or -1 in case of error. Because of this
      /// constraint and the fact that `ssize_t` is not defined in `stdint.h`/C++
      /// standard, the return type is `int64_t`.
      ///
      /// This is thread safe.
      ///
      /// Note: the `buffer` argument is NOT a null terminated string!
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if exactly `n` bytes have been read.
    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)
Back to top