- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for env (0.14 sec)
-
tensorflow/c/env.h
#ifndef TENSORFLOW_C_ENV_H_ #define TENSORFLOW_C_ENV_H_ #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/tf_file_statistics.h" #include "tensorflow/c/tf_status.h" // -------------------------------------------------------------------------- // C API for tensorflow::Env. #ifdef __cplusplus extern "C" { #endif
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
#include <functional> #include <list> #include <map> #include <memory> #include <string> #include "absl/base/thread_annotations.h" #include "absl/synchronization/mutex.h" #include "tensorflow/c/env.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. ///
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/c_test.c
#include <stdlib.h> #include <time.h> #include <unistd.h> #ifdef _WIN32 #include <process.h> #endif #include "tensorflow/c/c_api.h" #include "tensorflow/c/c_api_experimental.h" #include "tensorflow/c/env.h" #include "tensorflow/c/kernels.h" // A create function. This will never actually get called in this test, it's // just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { TF_DataType type;
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/experimental/filesystem/modular_filesystem.h
// 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 // removal of the registration part from `Env` and adding it here instead: we
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/c_api.h
// * 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: // * Backing store for tensor memory has an associated deallocation
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/gcs/ram_file_block_cache.h
#include <map> #include <memory> #include <string> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/synchronization/mutex.h" #include "absl/synchronization/notification.h" #include "tensorflow/c/env.h" #include "tensorflow/c/logging.h" #include "tensorflow/c/tf_status.h" namespace tf_gcs_filesystem { /// \brief An LRU block cache of file contents, keyed by {filename, offset}. ///
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/filesystem_interface.h
/// won't be registered anymore is if this function gets called by core /// TensorFlow and the `TF_Filesystem*` object is destroyed. However, due to /// registration being done in a static instance of `Env`, the destructor of /// `FileSystem` is never called (see /// https://github.com/tensorflow/tensorflow/issues/27535). In turn, this /// function will never be called. There are plans to refactor registration
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)