Applies a function to the input tensor.
- tens: Tensor to which the function be applied.
- closure: Differentiable function to apply to the tensor.
| Name | Data type |
|---|---|
| tens | Tensor |
| closure | Ptcallable |
| Data type |
|---|
| Tensor |
Category: PyTorch wrapper - Training
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.