ocl.neural_networks
build_two_layer_mlp
Build a two layer MLP, with optional initial layer norm.
Separate class as this type of construction is used very often for slot attention and transformers.
build_two_layer_mlp
Build a two layer MLP, with optional initial layer norm.
Separate class as this type of construction is used very often for slot attention and transformers.
ocl/neural_networks/convenience.py