mindspore.dataset.config.ErrorSamplesMode

class mindspore.dataset.config.ErrorSamplesMode

An enumeration for error_samples_mode .

Possible enumeration values are: ErrorSamplesMode.RETURN, ErrorSamplesMode.REPLACE, ErrorSamplesMode.SKIP.

  • ErrorSamplesMode.RETURN: means erroneous sample results in error raised and returned.

  • ErrorSamplesMode.REPLACE: means erroneous sample is replaced with an internally determined sample.

  • ErrorSamplesMode.SKIP: means erroneous sample is skipped.