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

411 B

Pt From Image Transpose

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

Input

Name Data type
image Image

Output

Data type
Tensor

Category: PyTorch wrapper - Image processing

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