446 B
446 B
Pt Bool Create
Creates a PyTorch tensor of dtype bool from True or False values entered as a list in the text field. For example, entering:
[True, False, False]
will create a 1D boolean tensor.
Input
| Name | Data type |
|---|---|
| data | String |
Output
| Data type |
|---|
| Tensor |
Category: PyTorch wrapper - Tensor creation
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.