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

411 B

Pt To Image Transpose

Casts a PyTorch tensor as an Image tensor and transposes it from (C, H, W) to (H, W, C). For rank-4 inputs, the batch axis remains unchanged.

Input

Name Data type
tens Tensor

Output

Data type
Image

Category: PyTorch wrapper - Image processing

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