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

18 lines
340 B
Markdown

# 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 |
<HR>
Category: PyTorch wrapper - Tensor creation
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.