Computes the log of probability for the input distribution. This nodes accepts a tensor so it can be used to compute log of probability for multiple values contained in a tensor.
Args:
distribution (torch.distributions.distribution.Distribution): Distribution.
tens (torch.Tensor): Value(s) in Tensor.
| Name | Data type |
|---|---|
| distribution | Ptdistribution |
| tens | Tensor |
| Data type |
|---|
| Tensor |
Category: PyTorch wrapper - Distribution
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.