522 B
522 B
Ptn L1 Loss
A class to compute the L1 loss.
Args:
reduction: (str): Reduction method.
`none`: no reduction will be applied done.
`mean`: computes the mean.
`sum`: computes the sum.
Input
| Name | Data type |
|---|---|
| reduction |
Output
| Data type |
|---|
| Ptloss |
Category: PyTorch wrapper - Loss function
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.