Pytorch Torch Empty
# PyTorch torch.empty Function
* * Pytorch torch Reference](#)
`torch.empty` is a function in PyTorch used to create uninitialized tensors.
### Function Definition
torch.empty(*size, dtype=None, device=None, requires_grad=False)
* * *
## Usage Example
## Example
import torch
# Create uninitialized tensor
x = torch.empty(3,4)
print(x)
print("Note: Values are uninitialized memory values")
* * Pytorch torch Reference](#)
YouTip