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

443 B

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

Category: PyTorch wrapper - Training

ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.