data
data copied to clipboard
Add `pin_memory` Adapter
🚀 The feature
Add an Adapter
for pin_memory
feature, similar to enable/disable shuffle
.
Motivation, pitch
This allows users to enable/disable/change device of PinMemoryIterDataPipe
without making changes to the DataPipe graph.
Alternatives
No response
Additional context
No response