- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for TIME (0.12 sec)
-
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/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/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/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/tape.h
} } }); if (!s.ok()) { return s; } std::unordered_map<int64_t, int64_t> gradients_size; // TODO(apassos) multiple threads could be dequeuing from op_stack at the same // time, for better CPU backprop performance. VLOG(1) << "Initial stack:"; if (VLOG_IS_ON(1)) { for (auto t : op_stack) { VLOG(1) << " " << t; } } while (!op_stack.empty()) {
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/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) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
namespace tensorflow { // TODO(b/143949615): After all filesystems are converted, this file will be // moved to core/platform, and this class can become a singleton and replace the // need for `Env::Default()`. At that time, we might decide to remove the need // for `Env::Default()` altogether, but that's a different project, not in // scope for now. I'm just mentioning this here as that transition will mean
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) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// pointed to by the `void*` members is always owned by the plugin. The plugin /// will provide functions to call to allocate and deallocate this data (see /// next sections) and core TensorFlow ensures to call these at the proper time. /// /// Plugins will never receive a `TF_*` pointer that is `nullptr`. Core /// TensorFlow will never touch the `void*` wrapped by these structures, except /// to initialize it as `nullptr`.
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)