- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for plugin_memory_free (0.3 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
info->plugin_memory_free(info->ops[i].scheme); info->plugin_memory_free(info->ops[i].filesystem_ops); info->plugin_memory_free(info->ops[i].random_access_file_ops); info->plugin_memory_free(info->ops[i].writable_file_ops); info->plugin_memory_free(info->ops[i].read_only_memory_region_ops); } info->plugin_memory_free(info->ops); return status; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc
TF_SetFilesystemVersionMetadata(ops); ops->scheme = strdup(uri); } void TF_InitPlugin(TF_FilesystemPluginInfo* info) { info->plugin_memory_allocate = plugin_memory_allocate; info->plugin_memory_free = plugin_memory_free; info->num_schemes = 2; info->ops = static_cast<TF_FilesystemPluginOps*>( plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); ProvideFilesystemSupportFor(&info->ops[0], "");
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/posix/posix_filesystem.cc
plugin_memory_allocate(num_entries * sizeof((*entries)[0]))); for (int i = 0; i < num_entries; i++) { (*entries)[i] = strdup(dir_entries[i]->d_name); plugin_memory_free(dir_entries[i]); } plugin_memory_free(dir_entries); } return num_entries; } } // namespace tf_posix_filesystem static void ProvideFilesystemSupportFor(TF_FilesystemPluginOps* ops,
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.h
plugin_memory_allocate_(std::move(plugin_memory_allocate)), plugin_memory_free_(std::move(plugin_memory_free)) {} ~ModularFileSystem() override { ops_->cleanup(filesystem_.get()); } TF_USE_FILESYSTEM_METHODS_WITH_NO_TRANSACTION_SUPPORT; Status NewRandomAccessFile( const std::string& fname, TransactionToken* token,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
// TensorFlow, so we need to use `plugin_memory_free_` here. char** children = nullptr; const int num_children = ops_->get_children(filesystem_.get(), translated_name.c_str(), &children, plugin_status.get()); if (num_children >= 0) { for (int i = 0; i < num_children; i++) { result->push_back(std::string(children[i])); plugin_memory_free_(children[i]); }
C++ - Registered: Tue Apr 23 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/gcs/gcs_filesystem.cc
ops->filesystem_ops->flush_caches = tf_gcs_filesystem::FlushCaches; } void TF_InitPlugin(TF_FilesystemPluginInfo* info) { info->plugin_memory_allocate = plugin_memory_allocate; info->plugin_memory_free = plugin_memory_free; info->num_schemes = 1; info->ops = static_cast<TF_FilesystemPluginOps*>( plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); ProvideFilesystemSupportFor(&info->ops[0], "gs");
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// TensorFlow, we need to provide a way for the allocation and deallocation to /// match. This is why this structure also defines `plugin_memory_allocate` and /// `plugin_memory_free` members. /// /// All memory allocated by the plugin that will be owned by core TensorFlow /// must be allocated using the allocator in this structure. Core TensorFlow
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0)