Files
HowToSD-ComfyUI-Pt-Wrapper/docs/reference/pt_squeeze.md
T
2025-03-10 14:34:01 -07:00

408 B

Pt Squeeze

Removes a dimension at the specified position in the input tensor if it is of size 1.

Specifying a tuple of dimensions is not supported yet.

Input

Name Data type
tens Tensor
dim Int

Output

Data type
Tensor

Category: PyTorch wrapper - Transform

ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.