is_anonymous_sequential

is_anonymous_sequential#

penzai.nn.grouping.is_anonymous_sequential(tree: Any) bool[source]#

Checks if the type of a node is exactly Sequential, not a named subclass.