nvidia.dali.experimental.dynamic.dump_image#
- nvidia.dali.experimental.dynamic.dump_image(
- input,
- /,
- *,
- batch_size=None,
- device=None,
- input_layout=None,
- suffix=None,
Save images in batch to disk in PPM format.
Useful for debugging.
- Supported backends
‘cpu’
‘gpu’
- Parameters:
input¶ (Tensor/Batch) – Input to the operator.
- Keyword Arguments:
input_layout¶ (layout str, optional, default = ‘HWC’) – Layout of input images.
suffix¶ (str, optional, default = ‘’) – Suffix to be added to output file names.
batch_size¶ (int, optional) – The batch size to broadcast input tensors to. Ignored for batch inputs.
device¶ (device-like, optional) – The device to use for the operation. Must not conflict with the device of the inputs.