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

18 lines
337 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 Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.