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

Method __init__

backends/mlx/patterns.py:66–79  ·  view source on GitHub ↗
(
        self,
        head: Node,
        body: List[Node],
        dst: Node,
        update: Node,
        indices: Node,
        axis: int,
    )

Source from the content-addressed store, hash-verified

64 """
65
66 def __init__(
67 self,
68 head: Node,
69 body: List[Node],
70 dst: Node,
71 update: Node,
72 indices: Node,
73 axis: int,
74 ):
75 super().__init__(head, body)
76 self.dst = dst
77 self.update = update
78 self.indices = indices
79 self.axis = axis
80
81 @classmethod
82 def maybe_create( # noqa: C901

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected