- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for plugin (0.21 sec)
-
tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc
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/api_template.__init__.py
_ll.load_library(_kernel_dir) # Load third party dynamic kernels. for _s in _site_packages_dirs: _plugin_dir = _os.path.join(_s, "tensorflow-plugins") if _os.path.exists(_plugin_dir): _ll.load_library(_plugin_dir) # Load Pluggable Device Library _ll.load_pluggable_device_library(_plugin_dir) if _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH", ""): _ll.load_pluggable_device_library(
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); std::string translated_name = TranslateName(dirname); uint64_t plugin_undeleted_files, plugin_undeleted_dirs; ops_->delete_recursively(filesystem_.get(), translated_name.c_str(), &plugin_undeleted_files, &plugin_undeleted_dirs, plugin_status.get()); *undeleted_files = plugin_undeleted_files;
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/grappler/grappler_internal.h
#include "tensorflow/core/platform/status.h" #include "tensorflow/core/protobuf/rewriter_config.pb.h" namespace tensorflow { namespace grappler { // Plugin initialization function that a device plugin // must define. typedef void (*TFInitGraphPluginFn)(TP_OptimizerRegistrationParams* const, TF_Status* const); // Registers Graph optimizers.
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jun 08 08:58:23 GMT 2022 - 3.5K bytes - Viewed (1) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
*new_resource = new tensorflow::PluginResource( opaque_plugin_resource, plugin_resource_name, delete_func); return tensorflow::OkStatus(); }); if (cc_status.ok()) { tf_plugin_resource_ptr.reset(tf_plugin_resource); *result_plugin_resource = tf_plugin_resource_ptr->GetOpaquePluginResource(); } else { *result_plugin_resource = nullptr;
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/c_api.cc
} void TF_RegisterFilesystemPlugin(const char* plugin_filename, TF_Status* status) { #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) status->status = tensorflow::errors::Unimplemented( "FileSystem plugin functionality is not supported on mobile"); #else status->status = tensorflow::RegisterFilesystemPlugin(plugin_filename);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_test.cc
params->device_type = "Device1"; }; TF_ASSERT_OK(InitGraphPlugin(plugin_init_0)); TF_ASSERT_OK(InitGraphPlugin(plugin_init_1)); ASSERT_EQ(PluginGraphOptimizerRegistry::CreateOptimizers( std::set<string>{"Device0", "Device1"}) .size(), 2); } TEST(Grappler, DeviceTypeNotSet) { auto plugin_init = [](TP_OptimizerRegistrationParams* const params,
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/c_op_requires.h
// C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus // to the macros in tensorflow/core/framework/op_requires.h. This is provided // for plugin OpKernel developer's convenience. #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \ do { \
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Aug 02 21:35:06 GMT 2022 - 2.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
status_ = TF_NewStatus(); filesystem_ = new TF_Filesystem; filesystem_->plugin_filesystem = nullptr; // Because different tests requires different setup for filesystem. We // initialize filesystem in each testcase. } void TearDown() override { TF_DeleteStatus(status_); if (filesystem_->plugin_filesystem != nullptr) tf_gcs_filesystem::Cleanup(filesystem_); delete filesystem_; }
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/windows/BUILD
# Experimental windows filesystem plugin. load("//tensorflow:tensorflow.bzl", "get_win_copts", "tf_cc_shared_object") load("//tensorflow/core/platform:rules_cc.bzl", "cc_library") package( # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"], licenses = ["notice"], ) # Filesystem implementation for Windows environment tf_cc_shared_object( name = "windows_filesystem.dll", framework_so = [],
Plain Text - Registered: Tue Apr 09 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 987 bytes - Viewed (0)