Sample timesteps for training. Args: shape (tuple): shape of the output tensor Returns: Tensor: sampled timesteps
(self, shape)
| 133 | |
| 134 | @abstractmethod |
| 135 | def sample_train_t(self, shape): |
| 136 | """Sample timesteps for training. |
| 137 | |
| 138 | Args: |
| 139 | shape (tuple): shape of the output tensor |
| 140 | |
| 141 | Returns: |
| 142 | Tensor: sampled timesteps |
| 143 | """ |
| 144 | pass |
| 145 | |
| 146 | @property |
| 147 | @abstractmethod |