Files
HowToSD-ComfyUI-Data-Analysis/docs/reference/pt_arange.md
T

26 lines
618 B
Markdown

# Pt Arange
Creates a PyTorch tensor using `torch.arange` with the specified start, end, and step values.
The values are parsed from string inputs and converted to numeric types. This allows users to specify
tensor range values in text fields. The function also ensures proper dtype selection.
Category: PyTorch wrapper - Tensor creation
## Input
| Name | Data type |
|---|---|
| start | String |
| end | String |
| step | String |
| data_type | |
## Output
| Data type |
|---|
| Tensor |
<HR>
Category: Miscellaneous
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.