- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 386 for handles (0.24 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); const std::vector<std::unique_ptr<ParallelTensor>>& handles = *outputs; std::vector<ParallelTensor*> handle_inputs; handle_inputs.reserve(handles.size()); for (auto& handle : handles) { handle_inputs.push_back(handle.get()); } std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> read_op(
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// "Context" under which operations/functions are executed. It encapsulates // things like the available devices, resource manager etc. // TFE_Context must outlive all tensor handles created using it. In other // words, TFE_DeleteContext() must be called after all tensor handles have // been deleted (with TFE_DeleteTensorHandle). // // TODO(ashankar): Merge with TF_Session? typedef struct TFE_Context TFE_Context;
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.cc
", dtype=", DataType_Name(DataType()), ", type=", FullType().DebugString(), ")"); } absl::Status AbstractTensorHandle::TensorHandleStatus() const { // Tensor handles in current runtime don't carry error info and this method // should always return OK status. return absl::OkStatus(); }
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
TFE_OpAddInput(matmul, has_packed_input ? packed_handle : h1_task2, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); } else { // Handles are on task0 (local), and task2, but op is on task1. matmul = MatMulOp(ctx, h0_task0, h1_task2); } if (remote) { TFE_OpSetDevice(matmul, task1_name, status);
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle = tensorflow::unwrap(handles[i]); if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) { // One of the inputs we're trying to pack is on a custom device. We'll let // the first custom device we see handle all of the packing. auto* custom_device_handle =
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
t.Fatalf("Test %d: Failed to create HTTP request for GetBucketPolicyHandler: <ERROR> %v", i+1, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request. apiRouter.ServeHTTP(recV4, reqV4) // Assert the response code with the expected status. if recV4.Code != testCase.expectedRespStatus {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 32.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// Pack 3 variable handles into one TFE_TensorHandle. // When remote is false, function device is placed on task0. Handle types are // REMOTE, REMOTE, LOCAL on task0. When remote is true, function device is // placed on task1, Handle types are LOCAL, REMOTE, LOCAL on task1. int num_replicas = 3; std::vector<TFE_TensorHandle*> handles = {h0, h1, h2}; TFE_TensorHandle* packed_handle =
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 23.4K bytes - Viewed (0) -
src/bufio/scan_test.go
if err != nil { t.Fatal(err) } } // Test that the line splitter handles a final line without a newline. func TestScanLineNoNewline(t *testing.T) { const text = "abcdefghijklmn\nopqrstuvwxyz" lines := []string{ "abcdefghijklmn", "opqrstuvwxyz", } testNoNewline(text, lines, t) } // Test that the line splitter handles a final line with a carriage return but no newline.
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package deadlineconn import ( "bufio" "io" "net" "sync" "testing" "time" ) // Test deadlineconn handles read timeout properly by reading two messages beyond deadline. func TestBuffConnReadTimeout(t *testing.T) { l, err := net.Listen("tcp", "localhost:0") if err != nil { t.Fatalf("unable to create listener. %v", err) }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sat Nov 05 18:09:21 UTC 2022 - 3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// Returns a tensor for the handle. If tensor is remote, it will be copied. virtual AbstractTensorInterface* Resolve(absl::Status* status) = 0; std::string DebugString() const override; // Returns a Boolean hint indicating whether callers should prefer // `SummarizeValue` to resolving this handle and formatting the tensor. // // For example some tensor handles may represent distributed values, in which
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.3K bytes - Viewed (0)