(self, new_alignment: int)
| 183 | return calculate_aligned_num_bytes(nbytes, self.alignment) |
| 184 | |
| 185 | def realign(self, new_alignment: int) -> int: |
| 186 | self.alignment = new_alignment |
| 187 | return self.allocated_memory |
| 188 | |
| 189 | def nbytes(self) -> int: |
| 190 | return num_bytes_from_shape_and_dtype(self.shape, self.dtype) |
no outgoing calls
no test coverage detected