MCPcopy
hub / github.com/hustvl/Vim / SizeData

Class SizeData

det/projects/DensePose/densepose/evaluation/tensor_storage.py:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16@dataclass
17class SizeData:
18 dtype: str
19 shape: Tuple[int]
20
21
22def _calculate_record_field_size_b(data_schema: Dict[str, SizeData], field_name: str) -> int:

Callers 5

test_read_write_1Method · 0.90
test_read_write_1Method · 0.90
ram_read_write_workerFunction · 0.90
file_read_write_workerFunction · 0.90

Calls

no outgoing calls

Tested by 4

test_read_write_1Method · 0.72
test_read_write_1Method · 0.72
ram_read_write_workerFunction · 0.72
file_read_write_workerFunction · 0.72