neural_tangents.stax.AggregateImplementation
- class neural_tangents.stax.AggregateImplementation(value)[source]
Implementation of the
Aggregatelayer.See
Aggregatedocstring for details.- DENSE
Is recommended for dense graphs, where the number of edges
Eis proportional to the number of verticesVto the power of 1.5 or more.
- SPARSE
Is recommended for sparse graphs, where
E ~ O(V)or less.
- __init__()
Attributes