- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TFE_Execute (0.19 sec)
-
tensorflow/c/eager/c_api_cluster_test.cc
TFE_OpSetDevice(matmul, remote_device_name, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_TensorHandle* retvals[1]; int num_retvals = 1; TFE_Execute(matmul, &retvals[0], &num_retvals, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); auto* retval_task0 = TFE_TensorHandleCopyToDevice(retvals[0], ctx, local_device_name, status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
if (remote) { TFE_OpSetDevice(func, task1_name, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); } TFE_TensorHandle* retvals[1] = {nullptr}; int num_retvals = 1; TFE_Execute(func, &retvals[0], &num_retvals, status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); ASSERT_EQ(1, num_retvals); TFE_DeleteOp(func); TFE_DeleteTensorHandle(packed_handle);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 23.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// // Attributes are forwarded to executed operations unmodified. // // The returned optional has a value if and only if `status` evaluates to // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or // if sanity checks on dtypes/metadata fail. absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> Execute( TFE_Context* context, const std::vector<ParallelTensor*>& inputs,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
if (!device_name.empty()) { TFE_OpSetDevice(op, device_name.c_str(), status); } if (TF_GetCode(status) != TF_OK) return nullptr; TFE_TensorHandle* var_handle = nullptr; int num_retvals = 1; TFE_Execute(op, &var_handle, &num_retvals, status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_DeleteOp(op); if (TF_GetCode(status) != TF_OK) return nullptr; CHECK_EQ(1, num_retvals);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
#include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_status_internal.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" // NOTE(allenl): These tests currently go through TFE_Execute and so are // integration testing rather than purely testing the parallel device. They // correspond fairly well to the implementation, but testing the C++ directly is // another option. namespace tensorflow {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
absl::optional<int64_t> step_id = absl::nullopt); // Block until the previous `StartExecute` operation has executed. Forwards // the status from `TFE_Execute` and returns outputs if the status is OK. std::vector<TensorHandlePtr> Join(TF_Status* status); // Block until all Ops finished running on the thread. void AsyncWait(TF_Status* status); private:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
TF_Status* status) { int ret = -1; status->status = tensorflow::unwrap(op)->OutputLength(output_name, &ret); return ret; } void TFE_Execute(TFE_Op* op, TFE_TensorHandle** retvals, int* num_retvals, TF_Status* status) { tensorflow::ImmediateExecutionOperation* unwrapped_op = tensorflow::unwrap(op); status->status =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)