Helps `self.from_list()` and `self.to_list()` identify which classes to use for batch collation and un-collation.
(cls)
| 103 | |
| 104 | @classmethod |
| 105 | def get_batch_class(cls) -> type: |
| 106 | """Helps `self.from_list()` and `self.to_list()` identify which |
| 107 | classes to use for batch collation and un-collation. |
| 108 | """ |
| 109 | return InstanceBatch |
| 110 | |
| 111 | @property |
| 112 | def obj(self) -> torch.Tensor: |
nothing calls this directly
no outgoing calls
no test coverage detected