| 80 | |
| 81 | class Batch3D(Batch): |
| 82 | def __init__(self, data_type): |
| 83 | super().__init__(data_type) |
| 84 | self._data = [ |
| 85 | [ |
| 86 | np.array([[[1, 0, 1], [2, 3, 1]], [[0, 4, 1], [0, 4, 1]]], dtype=self._data_type), |
| 87 | np.array([[[5, 0, 1], [6, 7, 1]], [[0, 8, 1], [0, 4, 1]]], dtype=self._data_type), |
| 88 | ], |
| 89 | [ |
| 90 | np.array([[[9, 0, 3], [3, 3, 3]], [[7, 0, 3], [0, 6, 8]]], dtype=self._data_type), |
| 91 | np.array([[[7, 2, 3], [7, 8, 2]], [[3, 9, 2], [2, 6, 2]]], dtype=self._data_type), |
| 92 | ], |
| 93 | ] |
| 94 | |
| 95 | def valid_axes(self): |
| 96 | return [None, (), 0, 1, 2, (0, 1), (0, 2), (1, 2), (0, 1, 2)] |