This shouldn’t be allowed in the current version anymore and you’ll get a ValueError:
ValueError: batch_size attribute should not be set after DataLoader is initialized

Creating a new DataLoader should be cheap, so I would recommend to initialize a new DataLoader.