Method
__init__
(
self,
head: Node,
body: List[Node],
qdata: Node,
scale: Node,
zero_point: Node,
group_size: int,
bits: int,
out_dtype: torch.dtype,
)
Source from the content-addressed store, hash-verified
| 831 | """ |
| 832 | |
| 833 | def __init__( |
| 834 | self, |
| 835 | head: Node, |
| 836 | body: List[Node], |
| 837 | qdata: Node, |
| 838 | scale: Node, |
| 839 | zero_point: Node, |
| 840 | group_size: int, |
| 841 | bits: int, |
| 842 | out_dtype: torch.dtype, |
| 843 | ): |
| 844 | super().__init__(head, body) |
| 845 | self.qdata = qdata |
| 846 | self.scale = scale |
| 847 | self.zero_point = zero_point |
| 848 | self.group_size = group_size |
| 849 | self.bits = bits |
| 850 | self.out_dtype = out_dtype |
| 851 | |
| 852 | @classmethod |
| 853 | def maybe_create( |
Callers
nothing calls this directly
Tested by
no test coverage detected