tf.data.experimental.prefetch_to_device
Stay organized with collections
Save and categorize content based on your preferences.
A transformation that prefetches dataset values to the given device.
tf.data.experimental.prefetch_to_device(
device, buffer_size=None
)
Args |
device
|
A string. The name of a device to which elements will be prefetched.
|
buffer_size
|
(Optional.) The number of elements to buffer on device.
Defaults to an automatically chosen value.
|
[null,null,["Last updated 2020-10-01 UTC."],[],[]]