Added distribution method nodes that take 2d tensor as input

This commit is contained in:
HowToSD
2025-03-18 13:45:55 -07:00
parent 39421a4f8b
commit f8e06e965e
21 changed files with 564 additions and 23 deletions
+22
View File
@@ -0,0 +1,22 @@
# Ptdm Pdf Tensor
Computes the probability density for the input distribution. This nodes accepts a tensor so it can be used to compute pdf 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.