- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for port (0.33 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
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; } namespace tensorflow {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 22:09:57 GMT 2023 - 6.7K bytes - Viewed (0) -
tensorflow/c/c_api.cc
return lib_handle; } TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; } void TF_DeleteLibraryHandle(TF_Library* lib_handle) { if (lib_handle == nullptr) return; tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data)); delete lib_handle; } TF_Buffer* TF_GetAllOpList() { std::vector<tensorflow::OpDef> op_defs; tensorflow::OpRegistry::Global()->GetRegisteredOps(&op_defs);
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/eager/c_api.h
// // Note that TFE_OpGetFlatInputCount and TFE_OpGetFlatInput operate on a flat // sequence of inputs, unlike TFE_OpGetInputLength (for getting the length of a // particular named input list, which may only be part of the op's inputs). TF_CAPI_EXPORT extern int TFE_OpGetFlatInputCount(const TFE_Op* op, TF_Status* status); // Returns a borrowed reference to one of `op`'s inputs. Use
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/eager/c_api_test_util.h
const tensorflow::ServerDef& server_def, int task_index); void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index, const std::string& host, int port); std::vector<std::string> ListDeviceNames(TFE_Context* ctx);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TF_DeleteStatus(status); int port = tensorflow::testing::PickUnusedPortOrDie(); // 3. Replace worker1 with a new worker in server_def_0 and server_def_1. ReplaceTaskInServerDef(&server_def_0, /*task_index=*/1, "localhost", port); ReplaceTaskInServerDef(&server_def_1, /*task_index=*/1, "localhost", port); // 4. Start a new task to replace worker1. server_def_0.set_task_index(1);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/c_api.h
// Set the target in TF_SessionOptions.options. // target can be empty, a single entry, or a comma separated list of entries. // Each entry is in one of the following formats : // "local" // ip:port // host:port TF_CAPI_EXPORT extern void TF_SetTarget(TF_SessionOptions* options, const char* target); // Set the config in TF_SessionOptions.options.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc
#include <cstdint> #include <memory> #include <optional> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/log/check.h" #include "xla/pjrt/c/pjrt_c_api.h" #include "xla/pjrt/c/pjrt_c_api_cpu.h" #include "xla/pjrt/c/pjrt_c_api_wrapper_impl.h" #include "xla/pjrt/pjrt_api.h" #include "xla/pjrt/pjrt_c_api_client.h"
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Mon Oct 30 19:20:20 GMT 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
#include "tensorflow/c/tf_tensor_internal.h" #include "tensorflow/compiler/jit/variable_info.h" #include "tensorflow/compiler/jit/variable_info_util.h" #include "xla/pjrt/c/pjrt_c_api.h" #include "xla/pjrt/c/pjrt_c_api_helpers.h" #include "xla/pjrt/pjrt_c_api_client.h" #include "xla/pjrt/pjrt_client.h" #include "tensorflow/core/common_runtime/next_pluggable_device/plugin_resource.h" #include "tensorflow/core/framework/op_kernel.h"
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) -
ci/README.md
# TensorFlow continuous integration > **Warning** This folder is still under construction. It is part of an ongoing > effort to improve the structure of CI and build related files within the > TensorFlow repo. This warning will be removed when the contents of this > directory are stable and appropriate documentation around its usage is in > place. Maintainer: TensorFlow DevInfra
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 06 21:00:01 GMT 2023 - 825 bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Input feed_port; EXPECT_EQ(1, TF_OperationOutputConsumers(TF_Output{feed, 0}, &feed_port, 1)); EXPECT_EQ(add, feed_port.oper); EXPECT_EQ(0, feed_port.index); // The scalar const oper also has a consumer. ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{three, 0})); TF_Input three_port; EXPECT_EQ(1,
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)