should_create_new_batch

Signature:

def should_create_new_batch(loader: DataLoader, batch: Batch) -> bool:
...

Parameters:

  1. loader:

    Type
    DataLoader
  2. batch:

    Type
    Batch