ComfyUI Node
RandomTensor
A ComfyUI node in ETK/pytorch with 3 inputs and 1 output.
RandomTensor
- TORCH_TENSOR
◄shape(1,1)►
◄dtype▾►
◄init_methodrand►
CategoryETK/pytorch
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| shape | STRING | (1,1) | — |
| dtypeopt | COMBO | 55 options: torch.uint8, torch.int8, torch.int16, torch.int16, torch.int32, torch.int32, +49 | |
| init_methodopt | COMBO | rand | 6 options: rand, randn, randint, randint_like, rand_like, randn_like |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| TORCH_TENSOR | TORCH_TENSOR | — |