| 489 | |
| 490 | namespace { |
| 491 | void CopyFromNumpyArray(ep::Stream* stream, |
| 492 | const std::shared_ptr<vm::EagerBlobObject>& eager_blob_object, |
| 493 | const NumPyArrayPtr& array_ptr) { |
| 494 | SyncAutoMemcpy(stream, eager_blob_object->mut_dptr(), array_ptr.data(), |
| 495 | eager_blob_object->ByteSizeOfBlobBody(), eager_blob_object->mem_case(), |
| 496 | memory::MakeHostMemCase()); |
| 497 | } |
| 498 | |
| 499 | void CopyToNumpyArray(ep::Stream* stream, |
| 500 | const std::shared_ptr<vm::EagerBlobObject>& eager_blob_object, |
nothing calls this directly
no test coverage detected