(self, tensor_backend, skeleton_tree, is_local)
| 471 | """ |
| 472 | |
| 473 | def __init__(self, tensor_backend, skeleton_tree, is_local): |
| 474 | self._skeleton_tree = skeleton_tree |
| 475 | self._is_local = is_local |
| 476 | self.tensor = tensor_backend.clone() |
| 477 | |
| 478 | def __len__(self): |
| 479 | return self.tensor.shape[0] |