(self)
| 221 | |
| 222 | @property |
| 223 | def LongTensor(self): |
| 224 | return functools.partial(torch.tensor, dtype=torch.long, device='mlu') |
| 225 | |
| 226 | def on_accelerator(self, tensor): |
| 227 | device_str = str(tensor.device) |
nothing calls this directly
no outgoing calls
no test coverage detected