24 lines
529 B
Markdown
24 lines
529 B
Markdown
# Pt Linspace
|
|
Creates a PyTorch tensor using `torch.linspace` with the specified start, end, and steps values.
|
|
|
|
The start and end values are parsed from string inputs and converted to a float.
|
|
The steps value is converted to an int.
|
|
|
|
## Input
|
|
| Name | Data type |
|
|
|---|---|
|
|
| start | String |
|
|
| end | String |
|
|
| steps | 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.
|