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

340 B

Pt From Numpy

Converts a NumPy ndarray to a PyTorch tensor while preserving its data type.

Input

Name Data type
array Ndarray

Output

Data type
Tensor

Category: PyTorch wrapper - Tensor creation

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