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

Class NodeArgsIdx

backends/nxp/quantizer/patterns.py:36–48  ·  view source on GitHub ↗

Specifies indexes to args paramater of Node in node input annotation. Attributes: idx (int): Index to Node's args paramater (list). Selects an input Node or a list of Nodes at the index. inner_idx (int): If specified, index to a list pointed by 'idx' attribute. Selects an

Source from the content-addressed store, hash-verified

34
35@dataclass
36class NodeArgsIdx:
37 """
38 Specifies indexes to args paramater of Node in node input annotation.
39
40
41 Attributes:
42 idx (int): Index to Node's args paramater (list). Selects an input Node or a list of Nodes at the index.
43 inner_idx (int): If specified, index to a list pointed by 'idx' attribute. Selects an input Node at the index.
44 Default: None.
45 """
46
47 idx: int
48 inner_idx: int = None
49
50
51@dataclass

Callers 15

get_anchorsMethod · 0.90
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85
get_anchorsMethod · 0.85

Calls

no outgoing calls

Tested by 1

get_anchorsMethod · 0.72