Metrics#

compute_ber(b, b_hat[, precision])

Computes the bit error rate (BER) between two binary tensors.

compute_bler(b, b_hat[, precision])

Computes the block error rate (BLER) between two binary tensors.

compute_ser(s, s_hat[, precision])

Computes the symbol error rate (SER) between two integer tensors.

count_block_errors(b, b_hat)

Counts the number of block errors between two binary tensors.

count_errors(b, b_hat)

Counts the number of bit errors between two binary tensors.