- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for clients (0.18 sec)
-
tensorflow/c/eager/abstract_operation.h
// // WARNING: The destructor of this class is marked as protected to disallow // clients from directly destroying this object since it may manage it's own // lifetime through ref counting. Thus this must be allocated on the heap and // clients MUST call Release() in order to destroy an instance of this class. virtual void Release() = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
// Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow // clients from directly destroying this object since it may manage its own // lifetime through ref counting. Thus clients MUST call Release() in order to // destroy an instance of this class. virtual void Release() = 0; // Creates an operation builder and ties it to this context.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.h
#include "xla/pjrt/c/pjrt_c_api.h" #include "xla/pjrt/pjrt_c_api_client.h" #include "tensorflow/core/framework/tensor.h" namespace tensorflow { StatusOr<PJRT_Buffer*> GetPjRtCBufferFromTensor(const Tensor* tensor); absl::Status SetPjRtCBufferToTensor(PJRT_Buffer* c_buffer, xla::PjRtCApiClient* c_api_client, Tensor* tensor);
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Mon Oct 09 19:12:59 GMT 2023 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
// A single host server def contains a client and the remote host. // Example: // // Worker1: // cluster { job { name: "client" tasks { key: 0 value: "localhost:14525" } } // job { name: "worker" tasks { key: 1 value: "localhost:14523" } } // } job_name: "worker" task_index: 1 protocol: "grpc" // // Worker0: // cluster { job { name: "client" tasks { key: 0 value: "localhost:14526" } }
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_experimental_test.cc
server_def.set_task_index(0); auto cluster = server_def.mutable_cluster(); auto client_job = cluster->add_job(); client_job->set_name("localhost"); int client_port = tensorflow::testing::PickUnusedPortOrDie(); client_job->mutable_tasks()->insert( {0, strings::StrCat("localhost:", client_port)}); server_def.set_job_name("localhost"); auto serialized = server_def.SerializeAsString();
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/eager/immediate_execution_distributed_manager.h
int keep_alive_secs) = 0; // Set up a multi-client distributed execution environment. Must be called // on all tasks in the cluster. This call internally coordinates with other // tasks to initialize the eager context and TF server for multi-client // execution. virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
if (enable) { optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1); // These XLA flags are needed to trigger XLA properly from C (more generally // non-Python) clients. If this API is called again with `enable` set to // false, it is safe to keep these flag values as is. tensorflow::MarkForCompilationPassFlags* flags = tensorflow::GetMarkForCompilationPassFlags();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api.cc
RunMetadata run_metadata_proto; result = session->Run(run_options_proto, input_pairs, output_tensor_names, target_oper_names, &outputs, &run_metadata_proto); // Serialize back to upstream client, who now owns the new buffer if (run_metadata != nullptr) { status->status = MessageToBuffer(run_metadata_proto, run_metadata); if (!status->status.ok()) return; } } else {
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/c_api_experimental.h
// set XLA flag values to prepare for XLA compilation. Otherwise set // global_jit_level to OFF. // // This and the next API are syntax sugar over TF_SetConfig(), and is used by // clients that cannot read/write the tensorflow.ConfigProto proto. // TODO: Migrate to TF_CreateConfig() below. TF_CAPI_EXPORT extern void TF_EnableXLACompilation(TF_SessionOptions* options,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc
CHECK_OK(pjrt::SetPjrtApi(DEVICE_CPU, GetPjrtApi())); } auto pjrt_client = xla::GetCApiClient(DEVICE_CPU); CHECK_OK(pjrt_client.status()); auto c_api_client = down_cast<xla::PjRtCApiClient*>(pjrt_client->get()); std::vector<int32_t> data(1, 0); xla::Shape shape = xla::ShapeUtil::MakeShape(xla::S32, {1}); auto buffer = c_api_client->pjrt_c_client()->client->BufferFromHostBuffer(
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)