NumericalConverter#
- class sdm.prior.NumericalConverter#
Bases:
ABCBase class for converting latent channels to numerical columns.
- sample_num_channels(num_columns: int, generator: Generator | None = None) Tensor#
Sample how many latent channels each numerical column reads.
- abstractmethod forward(slices: Tensor, generator: Generator | None = None) tuple[Tensor, Tensor]#
Return numerical column values and slices passed to child nodes.
- Parameters:
- Returns:
Column values with shape
[C, R]and updated node-channel slices with the input shape for use by child nodes.- Return type: