Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 443 Bytes

File metadata and controls

22 lines (17 loc) · 443 Bytes

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.