Files
HowToSD-ComfyUI-Pt-Wrapper/docs/reference/pt_compute_loss.md
T
2025-03-20 21:40:01 -07:00

502 B

Pt Compute Loss

Computes loss for the input with the target using the specified loss function.

The user does not normally need to use this node. Instead the user should use training nodes that accept a loss object.

Input

Name Data type
input_tens Tensor
target_tens Tensor
loss Ptloss

Output

Data type
Tensor

Category: PyTorch wrapper - Training

ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.