- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for random (0.19 sec)
-
tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc
// SECTION 1. Implementation for `TF_RandomAccessFile` // ---------------------------------------------------------------------------- namespace tf_random_access_file { // TODO(b/139060984): Implement later } // namespace tf_random_access_file // SECTION 2. Implementation for `TF_WritableFile` // ---------------------------------------------------------------------------- namespace tf_writable_file {
C++ - Registered: Tue Apr 09 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:21:15 GMT 2022 - 2.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
if (TF_GetCode(status) != TF_OK) { TF_DeleteStatus(status); return ""; } TF_DeleteStatus(status); // We add a random value into `test_dir` to ensures that two consecutive // runs are unlikely to clash. std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> distribution; std::string rng_val = std::to_string(distribution(gen));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
std::string* bucket, std::string* object, TF_Status* status); namespace tf_random_access_file { void Cleanup(TF_RandomAccessFile* file); int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n, char* buffer, TF_Status* status); } // namespace tf_random_access_file namespace tf_writable_file { void Cleanup(TF_WritableFile* file);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status); // Clears the internal caches in the TFE context. Useful when reseeding random // ops. TF_CAPI_EXPORT extern void TFE_ContextClearCaches(TFE_Context* ctx); // Sets a thread-local device placement policy. After this call, other calls to
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.cc
if (ops_->new_random_access_file == nullptr) return errors::Unimplemented(tensorflow::strings::StrCat( "Filesystem for ", fname, " does not support NewRandomAccessFile()")); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); auto file = std::make_unique<TF_RandomAccessFile>(); std::string translated_name = TranslateName(fname);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
TF_SetFilesystemVersionMetadata(ops); ops->scheme = strdup(uri); ops->random_access_file_ops = static_cast<TF_RandomAccessFileOps*>( plugin_memory_allocate(TF_RANDOM_ACCESS_FILE_OPS_SIZE)); ops->random_access_file_ops->cleanup = tf_random_access_file::Cleanup; ops->random_access_file_ops->read = tf_random_access_file::Read; ops->writable_file_ops = static_cast<TF_WritableFileOps*>(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/c/experimental/filesystem/modular_filesystem.h" #include <memory> #include <random> #include <string> #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/stacktrace_handler.h" #include "tensorflow/core/platform/test.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
TF_RETURN_IF_ERROR( CheckABI(ops->filesystem_ops_abi, TF_FILESYSTEM_OPS_ABI, "filesystem")); if (ops->random_access_file_ops != nullptr) TF_RETURN_IF_ERROR(CheckABI(ops->random_access_file_ops_abi, TF_RANDOM_ACCESS_FILE_OPS_ABI, "random access file")); if (ops->writable_file_ops != nullptr) TF_RETURN_IF_ERROR(CheckABI(ops->writable_file_ops_abi,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
std::function<void(void*)> plugin_memory_free) : filesystem_(std::move(filesystem)), ops_(std::move(filesystem_ops)), random_access_file_ops_(std::move(random_access_file_ops)), writable_file_ops_(std::move(writable_file_ops)), read_only_memory_region_ops_(std::move(read_only_memory_region_ops)), plugin_memory_allocate_(std::move(plugin_memory_allocate)),
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
ops->filesystem_ops_api = TF_FILESYSTEM_OPS_API; ops->filesystem_ops_size = TF_FILESYSTEM_OPS_SIZE; ops->random_access_file_ops_abi = TF_RANDOM_ACCESS_FILE_OPS_ABI; ops->random_access_file_ops_api = TF_RANDOM_ACCESS_FILE_OPS_API; ops->random_access_file_ops_size = TF_RANDOM_ACCESS_FILE_OPS_SIZE; ops->writable_file_ops_abi = TF_WRITABLE_FILE_OPS_ABI; ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API;
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)