Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataFrame
  • PyFlink Multimodal
    • Image
    • Video
    • Utilities
  • PyFlink DataStream
  • PyFlink Common

pyflink.multimodal.utils.scatter_results#

scatter_results(results, valid_indices, total_len, default=None)[source]#

Place batch results back at their original indices.

Batch UDF helpers may skip corrupt or None inputs before invoking an expensive model. This helper restores those valid-row results to the original batch length and fills skipped positions with default.

previous

Utilities

next

pyflink.multimodal.utils.run_image_batch_inference

Show Source

Created using Sphinx 4.5.0.