Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ ImagePosition
Class
ImagePosition
fastdeploy/engine/request.py:68–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
67
@dataclass
68
class
ImagePosition:
69
offset: int = 0
70
length: int = 0
71
72
73
T = TypingTypeVar(
"T"
)
Callers
15
_update_mm_hashes
Method · 0.90
_add_image
Method · 0.90
_add_processed_image
Method · 0.90
_add_video
Method · 0.90
_add_processed_video
Method · 0.90
_add_image
Method · 0.90
_add_processed_image
Method · 0.90
_add_video
Method · 0.90
_add_processed_video
Method · 0.90
_add_image
Method · 0.90
_add_processed_image
Method · 0.90
_add_video
Method · 0.90
Calls
no outgoing calls
Tested by
15
test_init_with_multimodal_inputs
Method · 0.72
test_completely_within_range
Method · 0.72
test_completely_outside_range
Method · 0.72
test_partial_overlap_start
Method · 0.72
test_partial_overlap_end
Method · 0.72
test_exact_range_boundary
Method · 0.72
test_edge_overlap
Method · 0.72
test_multiple_overlapping_positions
Method · 0.72
test_zero_length_range
Method · 0.72
test_identical_positions_copy
Method · 0.72
test_revert_chunked_mm_input_matched_in_chunk
Method · 0.72
test_revert_chunked_mm_input_matched_in_second_chunk
Method · 0.72