FrameSamplingStrategy
¶
Source code in docs_src/capo_elementalinference/types/frame_sampling_strategy.py
count
instance-attribute
¶
count: NotRequired[int]
The number of frames to send on each run. Valid range: 1 to 64. The default is 1. Each frame adds to the size of the model request and to what the model charges for it.
mode
instance-attribute
¶
mode: FrameSamplingMode
Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).