Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ FlattenNode
Class
FlattenNode
backends/example/example_operators/flatten.py:35–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
34
@dataclass
35
class
FlattenNode(OpBase):
36
def
__init__(self):
37
super().__init__(
38
pattern=(torch.flatten,),
39
annotate_handle=_annotate_flatten,
40
)
Callers
1
ops.py
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected