22 lines
543 B
Markdown
22 lines
543 B
Markdown
# Pt Full
|
|
Creates a PyTorch tensor filled with a specified value using the size entered in the text field.
|
|
For example, if you want to create a 4D tensor of batch size=2, channel=3, height=96, width=32 filled with 7, enter:
|
|
[2,3,96,32] for size and 7 for value.
|
|
|
|
## Input
|
|
| Name | Data type |
|
|
|---|---|
|
|
| value | String |
|
|
| size | String |
|
|
| data_type | |
|
|
|
|
## Output
|
|
| Data type |
|
|
|---|
|
|
| Tensor |
|
|
|
|
<HR>
|
|
Category: PyTorch wrapper - Tensor creation
|
|
|
|
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
|