# tensorplay.nn.functional.l1_loss Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.l1_loss.html ```python tensorplay.nn.functional.l1_loss(input: Tensor, target: Tensor, size_average=None, reduce=None, reduction: str = 'mean', weight: Tensor | None = None) → Tensor ``` Compute the L1 loss, with optional weighting. Function that takes the mean element-wise absolute value difference. See L1Loss for details.