24 lines
590 B
Markdown
24 lines
590 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.
|
|
|
|
## Input
|
|
| Name | Data type |
|
|
|---|---|
|
|
| start | String |
|
|
| end | String |
|
|
| step | String |
|
|
| data_type | |
|
|
|
|
## Output
|
|
| Data type |
|
|
|---|
|
|
| Tensor |
|
|
|
|
<HR>
|
|
Category: PyTorch wrapper - Tensor creation
|
|
|
|
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
|