- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for into (0.17 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
Status status; for (int i = 0; i < info->num_schemes; i++) { status.Update(ValidateAndRegisterFilesystems(info, i)); 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);
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/eager/c_api.cc
namespace { class CustomDeviceAPI : public tensorflow::CustomDevice { public: CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info, string name) : context_(context), device_(device), info_(info), name_(name) {} ~CustomDeviceAPI() override { device_.delete_device(info_); } const string& name() override { return name_; } tensorflow::Status CopyTensorToDevice(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/eager/c_api_experimental.cc
"Unable to find function with name: ", function_name); return; } tensorflow::GraphDebugInfo debug_info = tensorflow::StackTracesMapToGraphDebugInfo( function_record->stack_traces()); string str = debug_info.SerializeAsString(); void* data = tensorflow::port::Malloc(str.length()); str.copy(static_cast<char*>(data), str.length(), 0); buf->data = data;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test_util.cc
tensorflow::JobDef* job_def = cluster_def->add_job(); job_def->set_name(job_name); for (int i = 0; i < num_tasks; i++) { int port = tensorflow::testing::PickUnusedPortOrDie(); job_def->mutable_tasks()->insert( {i, tensorflow::strings::StrCat("localhost:", port)}); LOG(INFO) << "Picked test port: " << port << " for job: " << job_name << ", task: " << i; } return server_def;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
// fill the cache, and the loop with i = 1 should be all cache hits. The // fetcher checks that it is called once and only once for each offset (to // fetch the corresponding block). for (int i = 0; i < 2; i++) { for (int j = 0; j < block_count; j++) { TF_EXPECT_OK(ReadCache(&cache, "", block_size * j, block_size, &out)); } } } TEST(RamFileBlockCacheTest, OutOfRange) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_DeviceList* device_list = list.get(); CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); const int num_devices = TF_DeviceListCount(device_list); LOG(INFO) << "There are " << num_devices << " devices."; for (int i = 0; i < num_devices; ++i) { const char* device_name = TF_DeviceListName(device_list, i, s); CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test.cc
TFE_DeleteContext(ctx); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); const int num_devices = TF_DeviceListCount(devices); EXPECT_GE(num_devices, 1) << "At least one CPU device should exist"; for (int i = 0; i < num_devices; ++i) { EXPECT_NE("", TF_DeviceListName(devices, i, status)) << i; EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/c_api_debug.cc
TFE_TensorDebugInfo* debug_info) { delete debug_info; } TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( TFE_TensorDebugInfo* debug_info) { return debug_info->dev_dims.size(); } TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim( TFE_TensorDebugInfo* debug_info, int dim_index) { return debug_info->dev_dims[dim_index]; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 2.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
// Step 3: Call `TF_InitPlugin` TF_FilesystemPluginInfo info; memset(&info, 0, sizeof(info)); auto TF_InitPlugin = reinterpret_cast<int (*)(TF_FilesystemPluginInfo*)>(dso_symbol); TF_InitPlugin(&info); // Step 4: Do the actual registration return filesystem_registration::RegisterFilesystemPluginImpl(&info); }
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/modular_filesystem_test.cc
tmp_dir_ = tmp_dir.empty() ? ::testing::TempDir() : tmp_dir; } protected: Env* env_; private: std::string root_dir_; static int rng_val_; static std::string cloud_path_; static std::string tmp_dir_; }; int ModularFileSystemTest::rng_val_; std::string ModularFileSystemTest::cloud_path_; std::string ModularFileSystemTest::tmp_dir_;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0)