CompressedTensorModel
pydantic model CompressedTensorModel
베이스: TensorModel
압축된 텐서 데이터 모델.
data
field
유형: str
Base-64-encoded 리틀 엔디안 형식의 데이터.
부울 배열은 비트팩(bitpacked) 방식으로 저장되며, 다른 유형은 비트별( IEEE753 ) 방식으로 저장됩니다. 모든 것이 리틀 엔디안입니다. 텐서는 C-순서를 가집니다.
유효성 검증자:
check_sizes
dtype
field
유형: Literal['f16', 'f32', 'f64', 'bool', 'i8', 'i16', 'i32', 'i64', 'u8', 'u16', 'u32', 'u64', 'c64', 'c128']
텐서의 데이터 유형.
유효성 검증자:
check_sizes
shape
field
유형: list[int]
텐서의 형태.
유효성 검증자:
check_sizes
check_sizes
from_numpy
to_numpy
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.