- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for TF_InitPlugin (0.35 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h
#define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_POSIX_FILESYSTEM_H_ #include "tensorflow/c/experimental/filesystem/filesystem_interface.h" // Initialize the POSIX filesystem. // // In general, the `TF_InitPlugin` symbol doesn't need to be exposed in a header // file, since the plugin registration will look for the symbol in the DSO file // that provides the filesystem functionality. However, the POSIX filesystem
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/experimental/filesystem/modular_filesystem.cc
// Step 2: Load symbol for `TF_InitPlugin` void* dso_symbol; TF_RETURN_WITH_CONTEXT_IF_ERROR( env->GetSymbolFromLibrary(dso_handle, "TF_InitPlugin", &dso_symbol), "Failed to load TF_InitPlugin symbol for DSO: ", dso_path); // Step 3: Call `TF_InitPlugin` TF_FilesystemPluginInfo info; memset(&info, 0, sizeof(info)); auto TF_InitPlugin =
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/windows/windows_filesystem.cc
static void ProvideFilesystemSupportFor(TF_FilesystemPluginOps* ops, const char* uri) { 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*>(
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_static.cc
namespace tensorflow { // Register the POSIX filesystems statically. // Return value will be unused bool StaticallyRegisterLocalFilesystems() { TF_FilesystemPluginInfo info; TF_InitPlugin(&info); Status status = filesystem_registration::RegisterFilesystemPluginImpl(&info); if (!status.ok()) { VLOG(0) << "Static POSIX filesystem could not be registered: " << status; return false; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// their `TF_InitPlugin` to record the versioning information the plugins /// are compiled against. /// /// The `TF_InitPlugin` function is used by plugins to set up the data /// structures that implement this interface, as presented in Section 2. In /// order to not have plugin shared objects call back symbols defined in core /// TensorFlow, `TF_InitPlugin` has a `TF_FilesystemPluginInfo` argument which
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) -
tensorflow/c/experimental/grappler/grappler.cc
absl::Status InitGraphPlugin(void* dso_handle) { tsl::Env* env = tsl::Env::Default(); // Step 1: Load symbol for `TF_InitPlugin` void* dso_symbol; TF_RETURN_IF_ERROR( env->GetSymbolFromLibrary(dso_handle, "TF_InitGraph", &dso_symbol)); // Step 2: Call `TF_InitPlugin` auto init_fn = reinterpret_cast<TFInitGraphPluginFn>(dso_symbol); return InitGraphPlugin(init_fn); }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
ops->filesystem_ops->path_exists = tf_posix_filesystem::PathExists; ops->filesystem_ops->stat = tf_posix_filesystem::Stat; ops->filesystem_ops->get_children = tf_posix_filesystem::GetChildren; } 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*>(
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/plugins/gcs/gcs_filesystem.cc
ops->filesystem_ops->translate_name = tf_gcs_filesystem::TranslateName; 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*>(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)