braindecode.functional.safe_log#

braindecode.functional.safe_log(x, eps: float = 1e-06) Tensor[source]#

Prevents log(0) by using log(max(x,eps)).