gluonts.torch.batchify module#

gluonts.torch.batchify.batchify(data: List[dict], device: torch.device | str | int | None = None) Dict[str, Any][source]#
gluonts.torch.batchify.stack(data, device: torch.device | str | int | None = None)[source]#