Files
HowToSD-ComfyUI-Pt-Wrapper/docs/reference/ptdm_log_prob_tensor.md
T

23 lines
618 B
Markdown

# Ptdm Log Prob Tensor
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.
## Input
| Name | Data type |
|---|---|
| distribution | Ptdistribution |
| tens | Tensor |
## Output
| Data type |
|---|
| Tensor |
<HR>
Category: PyTorch wrapper - Distribution
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.