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.