(self, data)
| 37 | self._initialize_data(data) |
| 38 | |
| 39 | def _initialize_data(self, data): |
| 40 | self._pydata = None # a numpy type data |
| 41 | self._user_tensor_data = dict() # dictionary of user tensors |
| 42 | self._dgl_tensor_data = None # a dgl ndarray |
| 43 | self._slice_data = None # a slice type data |
| 44 | self._dispatch(data) |
| 45 | |
| 46 | def __iter__(self): |
| 47 | for i in self.tonumpy(): |
no test coverage detected