Source code for memorax.networks.layers.identity import flax.linen as nn from memorax.utils.typing import Array [docs] class Identity(nn.Module): [docs] @nn.compact def __call__(self, x, *args, **kwargs) -> Array: return x