- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for timer (0.47 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
/// `max_age` is also 0, the cache will not be populated). ExpiringLRUCache(uint64_t max_age, size_t max_entries, std::function<uint64_t()> timer_seconds = TF_NowSeconds) : max_age_(max_age), max_entries_(max_entries), timer_seconds_(timer_seconds) {} /// Insert `value` with key `key`. This will replace any previous entry with /// the same key.
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
BlockFetcher block_fetcher, std::function<uint64_t()> timer_seconds = TF_NowSeconds) : block_size_(block_size), max_bytes_(max_bytes), max_staleness_(max_staleness), block_fetcher_(block_fetcher), timer_seconds_(timer_seconds), pruning_thread_(nullptr, [](TF_Thread* thread) { TF_JoinThread(thread); }) {
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h
#define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_ #include <fstream> #include <string> class TempFile : public std::fstream { public: // We should specify openmode each time we call TempFile. TempFile(const std::string& temp_file_name, std::ios::openmode mode); TempFile(TempFile&& rhs); ~TempFile() override; const std::string getName() const; bool truncate(); private:
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
#ifdef __cplusplus extern "C" { #endif // Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. This // is for performance optimization by reusing an exiting unused op rather than // creating a new op every time. If `raw_device_name` is `NULL` or empty, it // does not set the device name. If it's not `NULL`, then it attempts to parse // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
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) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// less synchronization than a thread pool would for this task, since Execute // acquires each thread in order (and so only one Execute will schedule // blocking collective operations at a time), and avoids some dynamic // allocation/scheduling. // // TODO(allenl): Keep a map from outer thread to list of inner threads rather // than a single list of threads so aliased nested parallel devices don't
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) -
tensorflow/c/c_api.h
// -------------------------------------------------------------------------- // The deprecated session API. Please switch to the above instead of // TF_ExtendGraph(). This deprecated API can be removed at any time without // notice. typedef struct TF_DeprecatedSession TF_DeprecatedSession; TF_CAPI_EXPORT extern TF_DeprecatedSession* TF_NewDeprecatedSession( const TF_SessionOptions*, TF_Status* status);
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) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h
// that provides the filesystem functionality. However, the POSIX filesystem // needs to be statically registered in some tests and utilities for building // the API files at the time of creating the pip package. Hence, we need to // expose this function so that this filesystem can be statically registered // when needed. void TF_InitPlugin(TF_FilesystemPluginInfo* info);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Mar 20 16:42:12 GMT 2020 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// // Below here we do the gradient algorithm. It works as follows: // // First we filter the tape to just the subset of operations we want to // differentiate. In the process of doing so we count how many times each Tensor // is used as an input to an op (so we know when we're done computing gradients // for that Tensor). We also count, for each tape entry, how many of its output
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) -
tensorflow/c/c_test.c
const char* path; if (!TF_StringStreamNext(s, &path)) { fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n"); return 1; } char file_name[100]; time_t t = time(NULL); snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t); size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// The number of dimensions used to represent the tensor on device can be // different from the number returned by TFE_TensorHandleNumDims. // The return value was current at the time of TFE_TensorDebugInfo creation. TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( TFE_TensorDebugInfo* debug_info); // Returns the number of elements in dimension `dim_index`.
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)