Files
HowToSD-ComfyUI-Pt-Wrapper/docs/reference/pt_full.md
T
2025-03-10 14:34:01 -07:00

543 B

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

Category: PyTorch wrapper - Tensor creation

ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.