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

Method __init__

backends/mlx/patterns.py:952–969  ·  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

950 """
951
952 def __init__(
953 self,
954 head: Node,
955 body: List[Node],
956 qdata: Node,
957 scale: Node,
958 zero_point: Node,
959 group_size: int,
960 bits: int,
961 out_dtype: torch.dtype,
962 ):
963 super().__init__(head, body)
964 self.qdata = qdata
965 self.scale = scale
966 self.zero_point = zero_point
967 self.group_size = group_size
968 self.bits = bits
969 self.out_dtype = out_dtype
970
971 @classmethod
972 def maybe_create(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected