transformers
b0a8e0b8 - [video processors] Support float fps for precise frame sampling (#39134)

Commit
173 days ago
[video processors] Support float fps for precise frame sampling (#39134) * [video processors] Support float fps for precise frame sampling Enable fractional fps values (e.g., 1.5, 29.97) in video processors for more precise frame sampling control. - Change fps type from int to float across all video processors - Maintain backward compatibility with integer values Extends: #38105 * [video processors] Refine fps typing to Union[int, float] Change fps type from Optional[float] to Optional[Union[int, float]] for more explicit type information about supporting both integer and floating-point frame rates. - Update type hints and docstrings across 8 files - Maintain backward compatibility - Clarify support for both int and float values Extends: #38105 * Revert "[video processors] Support float fps for precise frame sampling" This reverts commit 7360d6e661b413ca0239e5ef61f9b1abbeab8e65.
Author
Parents
Loading