def METHOD_NAME(
    self, name: str, dtype: Optional[torch.dtype] = None
):
    """
    Register an uninitialized buffer with the requested dtype. This can be used to reserve variable which are not
    known at the initialization of `schnetpack.md.System` and simulation hooks.
    Args:
        name (str): Name of the uninitialized buffer to register.
        dtype (torch.dtype): If specified, buffer will be set to requested dtype. If None is given, this will
                             default to float64 type.
    """
    if dtype is None:
        dtype = torch.float64
    self.register_buffer(name, nn.parameter.UninitializedBuffer(dtype=dtype))