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.run_image_batch_inference#

run_image_batch_inference(image_series, predict_fn, mode='RGB')[source]#

Decode a native IMAGE batch, run inference, and scatter results.

mode is the model-input normalization mode. Most vision models expect RGB tensors, so the default converts valid IMAGE rows to RGB before calling predict_fn. Operators that intentionally consume another image mode should pass it explicitly.

previous

pyflink.multimodal.utils.scatter_results

next

pyflink.multimodal.utils.resize_batch

Show Source

Created using Sphinx 4.5.0.