def input_shape(self) -> Shape:
        """Get the shape of the inputs in the inputs loader."""

        def fun():
            for inputs in self:
                if isinstance(inputs, dict):
                    input_shape = {k: v.shape[1:] for k, v in inputs.items()}
                else:
                    input_shape = inputs.shape[1:]
                break
            return input_shape

        return fun()
Get the shape of the inputs in the inputs loader.
fortuna/data/loader/base.py