23 lines
443 B
Markdown
23 lines
443 B
Markdown
# Pt Apply Function
|
|
Applies a function to the input tensor.
|
|
|
|
### Fields:
|
|
- tens: Tensor to which the function be applied.
|
|
- closure: Differentiable function to apply to the tensor.
|
|
|
|
## Input
|
|
| Name | Data type |
|
|
|---|---|
|
|
| tens | Tensor |
|
|
| closure | Ptcallable |
|
|
|
|
## Output
|
|
| Data type |
|
|
|---|
|
|
| Tensor |
|
|
|
|
<HR>
|
|
Category: PyTorch wrapper - Training
|
|
|
|
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
|