Files

24 lines
528 B
Markdown

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