- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CopyToDevice (1.36 sec)
-
tensorflow/compiler/jit/pjrt_device_context.cc
xla::PjRtDevice* pjrt_dst_device = (*pjrt_dst_client)->LookupAddressableDevice(pjrt_dst_device_id).value(); absl::StatusOr<std::unique_ptr<xla::PjRtBuffer>> buffer_or = src_device_buffer->CopyToDevice(pjrt_dst_device); if (!buffer_or.ok()) { done(buffer_or.status()); return; } xla::PjRtBuffer* pjrt_buffer = (*buffer_or).get(); if (static_cast<PjRtDeviceContext*>(recv_dev_context)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:49:31 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/jit/get_compiler_ir.cc
if (absl::c_binary_search(constant_arg_indices, i)) { // Need to make sure it's on the host. inputs_storage.emplace_back(t->dtype(), t->shape()); TF_RETURN_IF_ERROR( th->CopyToDevice(*context, /*d=*/nullptr, &inputs_storage.back())); inputs[i + offset] = &inputs_storage.back(); } else { inputs[i + offset] = t; } } if (dev != nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K bytes - Viewed (0)