461 B
461 B
Pt Zeros
Creates a PyTorch tensor of zeros 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, enter: [2,3,96,32]
Input
| Name | Data type |
|---|---|
| size | String |
| data_type |
Output
| Data type |
|---|
| Tensor |
Category: PyTorch wrapper - Tensor creation
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.