Files
HowToSD-ComfyUI-Data-Analysis/docs/reference/pt_randn.md
T

528 B

Pt Randn

Creates a PyTorch tensor with values sampled from a standard normal distribution (mean=0, std=1) 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 Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.