Process batch `b` of `TensorImage`.
(self,b:Tensor)
| 65 | self.collate_fn) |
| 66 | |
| 67 | def proc_batch(self,b:Tensor)->Tensor: |
| 68 | "Process batch `b` of `TensorImage`." |
| 69 | b = to_device(b, self.device) |
| 70 | for f in listify(self.tfms): b = f(b) |
| 71 | return b |
| 72 | |
| 73 | def __iter__(self): |
| 74 | "Process and returns items from `DataLoader`." |