TransportBlock#
- class sionna.phy.utils.TransportBlock(*args: Any, precision: Literal['single', 'double'] | None = None, device: str | None = None, **kwargs: Any)[source]#
Bases:
sionna.phy.block.BlockClass template for computing the number and size (measured in number of bits) of code blocks within a transport block, given the modulation order, coderate and the total number of coded bits of a transport block.
Used in
PHYAbstraction.- Inputs:
modulation_order – […], torch.int32. Modulation order, i.e., number of bits per symbol.
target_coderate – […], torch.float. Target coderate.
num_coded_bits – […], torch.float. Total number of coded bits across all codewords.
- Outputs:
cb_size – […], torch.int32. Code block (CB) size, i.e., number of information bits per code block.
num_cb – […], torch.int32. Number of code blocks that the transport block is segmented into.
- Parameters: