Utility Functions#
|
Generates a random binary tensor. |
|
Computes logits (i.e., unnormalized log-probabilities) or hard decisions on constellation points from a tensor of log-likelihood ratios (LLRs) on bits. |
|
Generates a PAM constellation. |
|
Maps a vector of bits to a PAM constellation point with Gray labeling. |
|
Transforms PAM symbol indices/logits to QAM symbol indices/logits. |
|
Generates a tensor of random PAM symbols. |
|
Generates a QAM constellation. |
|
Transforms QAM symbol indices to PAM symbol indices. |
|
Generates a tensor of random QAM symbols. |
|
Transforms symbol indices to their binary representations. |
|
Computes log-likelihood ratios (LLRs) or hard-decisions on bits from a tensor of logits (i.e., unnormalized log-probabilities) on constellation points. |
|
Computes the mean and variance of a constellation from logits (unnormalized log-probabilities) on the constellation points. |
|
Generates a tensor of random constellation symbols. |