gluonts.torch.batchify module

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