MCPcopy Create free account
hub / github.com/pytorch/executorch / __init__

Method __init__

backends/mlx/patterns.py:833–850  ·  view source on GitHub ↗
(
        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

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected