@nn.compact
def __call__(self, x):
    return nn.DenseGeneral(features=6, axis=(0, 1), name='dense')(x)
@nn.compact
def __call__(self, x):
    return nn.DenseGeneral(features=6, axis=(0, 1), name='dense')(x)